|
Public Methods |
| ZError (ZErrorCode code=ZERR_NONE, string desc="", string file="", int line=0) |
| Default constructor for ZError.
|
virtual | ~ZError () |
| Virtual Destructor.
|
void | Create (ZErrorCode code, string desc="", string file="", int line=0) |
| Set members of error object.
|
ZErrorCode | Code () const |
| Get ZErrorCode of error.
|
string | LogString () const |
| Get formatted string for log file.
|
Static Public Methods |
void | CreateStringTable () |
| Construct string table for error strings.
|
void | DestroyStringTable () |
| Destroy string table of error strings.
|
Protected Attributes |
ZErrorCode | rCode |
| Error ID.
|
string | rDescription |
| Error Description.
|
string | rFilename |
| File which error occured in.
|
unsigned int | rLine |
| Line which error occured on.
|
Static Protected Attributes |
string * | sErrorDesc = NULL |
| Static Array of Error Identifiers.
|