Error object for simple error management More...
Public Types | |
enum | Code { ERR_NOT_SET, ERR_ABORTED_BY_USER, ERR_INCONSISTENT_DATA, ERR_FILE_NOT_FOUND, ERR_FILE_OPEN, ERR_FILE_READ, ERR_FILE_UNSUPPORTED_FILE_TYPE, ERR_FILE_INVALID_FORMAT, ERR_VTFX_WRONG_PASSWORD } |
Available error codes. More... | |
Public Member Functions | |
Error () | |
Constructs an empty error object. More... | |
Code | errorCode () const |
Returns the error code. More... | |
void | setErrorCode (Code errorCode) |
Sets the error code. More... | |
Static Public Member Functions | |
static void | safeSetErrorCode (Error *errorObj, Code errorCode) |
Safely sets the error code by first checking if errorObj is NULL. More... | |
Error object for simple error management
enum cee::ug::Error::Code |
Available error codes.
cee::ug::Error::Error | ( | ) |
Constructs an empty error object.
Error::Code cee::ug::Error::errorCode | ( | ) | const |
Returns the error code.
Safely sets the error code by first checking if errorObj is NULL.
void cee::ug::Error::setErrorCode | ( | Code | errorCode | ) |
Sets the error code.