GLC_lib  2.5.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Types | Public Member Functions | Private Attributes | List of all members
GLC_FileFormatException Class Reference

GLC_FileFormatException : Class for all File Format ERROR. More...

#include <glc_fileformatexception.h>

+ Inheritance diagram for GLC_FileFormatException:

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.
 
- Public Member Functions inherited from GLC_Exception
 GLC_Exception (const QString &message)
 Default constructor.
 
virtual ~GLC_Exception () throw ()
 Destructor.
 

Private Attributes

QString m_FileName
 The name of the file.
 
ExceptionType m_ExceptionType
 The Exception type.
 

Additional Inherited Members

- Protected Attributes inherited from GLC_Exception
QString m_ErrorDescription
 Error description.
 

Detailed Description

GLC_FileFormatException : Class for all File Format ERROR.

Definition at line 36 of file glc_fileformatexception.h.

Member Enumeration Documentation

Enum of exception Type.

Enumerator
FileNotFound 
FileNotSupported 
WrongFileFormat 
NoMeshFound 

Definition at line 40 of file glc_fileformatexception.h.

Constructor & Destructor Documentation

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.

Member Function Documentation

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.

Member Data Documentation

ExceptionType GLC_FileFormatException::m_ExceptionType
private

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().


The documentation for this class was generated from the following files:

©2005-2013 Laurent Ribon