#include <sdifexception.hpp>
Inheritance diagram for Easdif::SDIFException:
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 |
In Easdif all SDIF errors are mapped to corresponding exceptions the base class is SDIFException. All other exception classes are derived from here.