wxArt2D
|
holds one error report. More...
#include <gen.h>
Public Member Functions | |
a2dError () | |
default constructor | |
a2dError (const wxString &errorIdName, const wxString &error=wxEmptyString, bool warning=false) | |
constructor | |
a2dError (const a2dError &error) | |
bool | operator== (const a2dError &a) |
bool | operator!= (const a2dError &a) |
wxString | GetIdName () const |
name of the name of this error id | |
wxString | GetErrorMessage () const |
get error string | |
a2dErrorWarningCode | GetErrorCode () const |
get error code | |
void | SetErrorMessage (const wxString &error) |
set error message | |
void | SetErrorCode (a2dErrorWarningCode code) |
set error code | |
Static Public Member Functions | |
static a2dErrorHash & | GetHashMap () |
Friends | |
bool | operator== (const a2dError &a, const a2dError &b) |
bool | operator!= (const a2dError &a, const a2dError &b) |
holds one error report.
Error within the docview framework are reported to the one and only a2dDocviewGlobal instance. There they are store in a list of this class. Each a2dError holds a message and an errorcode. The error code can be used to check the eror independent of language.