GLC_FileFormatException Class Reference

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

#include <glc_fileformatexception.h>

Inheritance diagram for GLC_FileFormatException:
GLC_Exception

List of all members.

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.

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

The Exception type.

Definition at line 73 of file glc_fileformatexception.h.

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:

SourceForge.net Logo

©2005-2011 Laurent Ribon