GLC_FileFormatException : Class for all File Format ERROR. More...
#include <glc_fileformatexception.h>
Public Types | |
| enum | ExceptionType { FileNotFound = 1, FileNotSupported, WrongFileFormat, NoMeshFound } |
Enum of exception Type. More... | |
Public Member Functions | |
| GLC_FileFormatException (const QString &, const QString &, ExceptionType) | |
| virtual | ~GLC_FileFormatException () throw () |
Get Functions | |
| virtual const char * | what () const throw () |
| Return exception description. | |
| ExceptionType | exceptionType () const |
| Return exception type. | |
Private Attributes | |
| QString | m_FileName |
| The name of the file. | |
| ExceptionType | m_ExceptionType |
| The Exception type. | |
GLC_FileFormatException : Class for all File Format ERROR.
Definition at line 36 of file glc_fileformatexception.h.
Enum of exception Type.
Definition at line 40 of file glc_fileformatexception.h.
| GLC_FileFormatException::GLC_FileFormatException | ( | const QString & | message, | |
| const QString & | fileName, | |||
| ExceptionType | exceptionType | |||
| ) |
Definition at line 27 of file glc_fileformatexception.cpp.
| GLC_FileFormatException::~GLC_FileFormatException | ( | ) | throw () [virtual] |
Definition at line 35 of file glc_fileformatexception.cpp.
| ExceptionType GLC_FileFormatException::exceptionType | ( | ) | const [inline] |
Return exception type.
Definition at line 60 of file glc_fileformatexception.h.
| const char * GLC_FileFormatException::what | ( | ) | const throw () [virtual] |
Return exception description.
Reimplemented from GLC_Exception.
Definition at line 44 of file glc_fileformatexception.cpp.
References GLC_Exception::m_ErrorDescription, and m_FileName.
The Exception type.
Definition at line 73 of file glc_fileformatexception.h.
QString GLC_FileFormatException::m_FileName [private] |
The name of the file.
Definition at line 70 of file glc_fileformatexception.h.
Referenced by what().