#include <iError.h>
Public Methods | |
iErrorCode (const char *description, int errCode=0) | |
~iErrorCode () | |
const char * | GetDescription () const |
int | GetErrorCode () const |
operator long () const | |
const char * | GetSig () const |
This method is used by iErrorHandler. More... | |
Protected Attributes | |
char | m_Sig [8] |
Private Attributes | |
const char * | m_Description |
int | m_ErrorCode |
Create global instances of this class in the implementation file, and use them as error specification. example:
iErrorCode OBJ_NOT_FOUND("Object s not found", 13);
...
iThrow(CRITICAL(OBJ_NOT_FOUND), "myObj");
Definition at line 236 of file iError.h.
|
Definition at line 627 of file iError.cpp. References ERR_MAX_PARAM, m_Description, and m_Sig. |
|
Definition at line 689 of file iError.cpp. |
|
Definition at line 256 of file iError.h. References m_Description. |
|
Definition at line 261 of file iError.h. References m_ErrorCode. |
|
This method is used by iErrorHandler.
Definition at line 273 of file iError.h. References m_Sig. |
|
Definition at line 267 of file iError.h. References m_ErrorCode. |
|
Definition at line 279 of file iError.h. Referenced by GetDescription(), and iErrorCode(). |
|
Definition at line 280 of file iError.h. Referenced by GetErrorCode(), and operator long(). |
|
Definition at line 276 of file iError.h. Referenced by GetSig(), and iErrorCode(). |