Description |
The OOL throws exceptions in form of this class. You can catch this exceptions and exceptions derived from this class in the usual way.
To throw exceptions yourself you may use the macro OOLThrow with exception-text and errorcode, eg
OOLThrow("an exception", 100)
GetErrorCode |
LONG theCode
returns the error-code
GetErrorMessage |
char * errorText
returns a char pointer with the error text
PrintError |
Displays information about the exception on the commandline. This function should only be used with VIO-applications.
ShowError |
XWindow * owner owner window, can be NULL.
Displays a messagebox with information about the exception. This function should only be used with PM-applications.