GLG Toolkit, Java Class Library  Version 4.5

A custom error handler object. More...

Detailed Description

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...
 

Member Function Documentation

◆ Error()

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.

Parameters
messageError description
error_typeSpecifies an error type, see GlgErrorType.
eAn optional exception that caused the error. If it is not null, it may be used to extract additional information about the error.