Main Page | Modules | Class Hierarchy | Class List | File List | Class Members | File Members

Easdif::SDIFException Class Reference
[SDIFException - SDIF Error handling via exceptions]

SDIFException - Basic exception from which all other Easdif exceptions derive. More...

#include <sdifexception.hpp>

Inheritance diagram for Easdif::SDIFException:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 SDIFException (SdifErrorLevelET level, const char *message, SdifFileT *_sdifFile, int error, const char *sourceFileName, int sourceFileLine)
 Initialize exception.
const char * what () const throw ()
 return message
void ErrorMessage ()
 pretty print error message
const SdifFileT * sdifFile () const
 get sdiffile pointer for file that causec exception
const std::string & getmessage () const
 get error message
const std::string & getsourcename () const
 get source file name that emitted error
int getenum () const
 get SDIF error tag / SdifErrorNumber

Detailed Description

SDIFException - Basic exception from which all other Easdif exceptions derive.

In Easdif all SDIF errors are mapped to corresponding exceptions the base class is SDIFException. All other exception classes are derived from here.


The documentation for this class was generated from the following file:
Generated on Tue Jan 3 15:00:57 2006 for Easdif by  doxygen 1.3.9.1