#include <UT_Error.h>
Public Member Functions | |
| UT_Error (const char *type, const int errorcode, const char *string=0, const UT_ErrorSeverity=UT_ERROR_ABORT) | |
| virtual | ~UT_Error () |
| virtual void | getErrorMessage (UT_String &error, const UT_ErrorSeverity last=UT_ERROR_NONE, int useheaders=1) |
| const UT_String & | getErrorType () const |
| UT_ErrorSeverity | getSeverity () const |
| int | getErrorCode () const |
| const UT_String & | getString () const |
| void | setErrorType (const char *type) |
| void | setErrorString (const char *string) |
| void | setErrorCode (int code) |
| void | setSeverity (UT_ErrorSeverity) |
Static Public Member Functions | |
| static int | getFileString (UT_String &buffer, const char *errorfile, const int errorcode, UT_ErrorSeverity severity, const UT_ErrorSeverity last, int useheaders) |
Protected Member Functions | |
| void | stdGetErrorMessage (UT_String &errorstring, const char *errorfile, const UT_ErrorSeverity last, int useheaders) const |
Definition at line 79 of file UT_Error.h.
| UT_Error::UT_Error | ( | const char * | type, | |
| const int | errorcode, | |||
| const char * | string = 0, |
|||
| const | UT_ErrorSeverity = UT_ERROR_ABORT | |||
| ) |
| virtual UT_Error::~UT_Error | ( | ) | [virtual] |
| int UT_Error::getErrorCode | ( | ) | const [inline] |
Definition at line 106 of file UT_Error.h.
| virtual void UT_Error::getErrorMessage | ( | UT_String & | error, | |
| const UT_ErrorSeverity | last = UT_ERROR_NONE, |
|||
| int | useheaders = 1 | |||
| ) | [virtual] |
| const UT_String& UT_Error::getErrorType | ( | ) | const [inline] |
Definition at line 104 of file UT_Error.h.
| static int UT_Error::getFileString | ( | UT_String & | buffer, | |
| const char * | errorfile, | |||
| const int | errorcode, | |||
| UT_ErrorSeverity | severity, | |||
| const UT_ErrorSeverity | last, | |||
| int | useheaders | |||
| ) | [static] |
| UT_ErrorSeverity UT_Error::getSeverity | ( | ) | const [inline] |
Definition at line 105 of file UT_Error.h.
| const UT_String& UT_Error::getString | ( | ) | const [inline] |
Definition at line 107 of file UT_Error.h.
| void UT_Error::setErrorCode | ( | int | code | ) |
| void UT_Error::setErrorString | ( | const char * | string | ) |
| void UT_Error::setErrorType | ( | const char * | type | ) |
| void UT_Error::setSeverity | ( | UT_ErrorSeverity | ) |
| void UT_Error::stdGetErrorMessage | ( | UT_String & | errorstring, | |
| const char * | errorfile, | |||
| const UT_ErrorSeverity | last, | |||
| int | useheaders | |||
| ) | const [protected] |
1.5.9