GLG Toolkit, Java Class Library  Version 4.5
GlgErrorType

Specifies error message type for the Error method. More...

Detailed Description

Specifies error message type for the Error method.

Internal errors are reserved for the Toolkit's use and are always processed by the GLG default error handler.

The rest of the error messages are processed by the currently installed error handler, or by the GLG default error handler if no custom error handlers were installed.

Errors other than INFO also emit an audio beep.

Constants

static final int INFO = 5
 Error type constant to print a message on the Java console. More...
 
static final int INTERNAL_ERROR = 1
 Error type constant reserved for internal errors. More...
 
static final int USER_ERROR = 2
 Error type constant to print an error with the stack trace on the Java console. More...
 
static final int USER_ERROR_NO_STACK = 3
 Error type constant to print an error with no stack trace on the Java console. More...
 
static final int WARNING = 4
 Error type constant to print a warning on the Java console. More...
 

Variable Documentation

◆ INFO

final int INFO = 5
static

Error type constant to print a message on the Java console.

◆ INTERNAL_ERROR

final int INTERNAL_ERROR = 1
static

Error type constant reserved for internal errors.

◆ USER_ERROR

final int USER_ERROR = 2
static

Error type constant to print an error with the stack trace on the Java console.

Emits an audio beep.

◆ USER_ERROR_NO_STACK

final int USER_ERROR_NO_STACK = 3
static

Error type constant to print an error with no stack trace on the Java console.

Emits an audio beep.

◆ WARNING

final int WARNING = 4
static

Error type constant to print a warning on the Java console.

Emits an audio beep.