#include <exception.h>
libFAUDES uses the C++ exception mechanism to report errors on file IO and all sorts of invalid arguments. Members are
Function | Function name (where did the exception happen) | |
Description | Detailed description (human readable comment) | |
ErrorId | Error id (numeric id, see below) |
(File-) System Errors
Symboltable Errors
Token IO Errors
Container Classes Errors
Core Generator Classes Errors
Generator Operation Errors
Exception ids between 300 and 999 are used by LRT plugins.
Definition at line 101 of file exception.h.
Public Member Functions | |
Exception (const std::string &rFunctionName, const std::string &rDescription, unsigned int errorId) | |
Constructor. | |
virtual | ~Exception () throw () |
Destructor. | |
virtual const char * | Where () const throw () |
Returns Function. | |
virtual const char * | What () const throw () |
Returns error description. | |
virtual unsigned int | Id () const throw () |
Returns error id. | |
Private Attributes | |
std::string | FunctionName |
Function name. | |
std::string | Description |
Error description. | |
unsigned int | ErrorId |
Error id. |
|
Constructor. Writes an error message on stderr.
Definition at line 27 of file exception.cpp. |
|
Destructor.
Definition at line 36 of file exception.cpp. |
|
Returns error id.
Definition at line 46 of file exception.cpp. |
|
Returns error description.
Definition at line 42 of file exception.cpp. |
|
Returns Function.
Definition at line 38 of file exception.cpp. |
|
Error description.
Definition at line 135 of file exception.h. |
|
Error id.
Definition at line 138 of file exception.h. |
|
Function name.
Definition at line 132 of file exception.h. |