Main Page   Modules   Class Hierarchy   Compound List   File List   Compound 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.h>

Inheritance diagram for Easdif::SDIFException:

Inheritance graph
[legend]
List of all members.

Public Methods

 SDIFException (SdifErrorLevelET level, const char *message, SdifFileT *_sdifFile, int error, const char *sourceFileName, int sourceFileLine)
 Initialize exception.

const char * what ()
 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 Mon Feb 2 19:27:13 2004 for Easdif by doxygen1.2.16