GLG Toolkit, Java Class Library
Version 4.5
|
A custom error handler object. More...
A custom error handler object.
A custom error handler may be used to suppress some messages, while still using the default error handler to process the rest of the error messages.
The default error handler is returned by the SetErrorHandler method used to install a custom error handler. A custom error handler can invoke the default error handler's Error method for error messages that don't require custom processing.
Public Member Functions | |
void | Error (String message, int error_type, Exception e) |
Custom error handling method. More... | |
void Error | ( | String | message, |
int | error_type, | ||
Exception | e | ||
) |
Custom error handling method.
This method is invoked with a diagnostic message when an error occurs.
message | Error description |
error_type | Specifies an error type, see GlgErrorType. |
e | An optional exception that caused the error. If it is not null, it may be used to extract additional information about the error. |