java::lang::Error Class Reference

Inheritance diagram for java::lang::Error:

Inheritance graph
Collaboration diagram for java::lang::Error:

Collaboration graph

List of all members.

Detailed Description

An Error is a subclass of Throwable that indicates serious problems that a reasonable application should not try to catch.

Most such errors are abnormal conditions. The ThreadDeath error, though a "normal" condition, is also a subclass of Error because most applications should not try to catch it.

A method is not required to declare in its throws clause any subclasses of Error that might be thrown during the execution of the method but not caught, since these errors are abnormal conditions that should never occur.

Frank Yellin
1.15, 01/23/03
See also:

Public Member Functions

 Error (const String &message=nilCString, const Ref< Throwable > &cause=0)
 Constructs a new error with the specified detail message.

Constructor & Destructor Documentation

java::lang::Error::Error ( const String message = nilCString,
const Ref< Throwable > &  cause = 0 

Constructs a new error with the specified detail message.

The cause is not initialized, and may subsequently be initialized by a call to initCause.

message the detail message. The detail message is saved for later retrieval by the getMessage() method.

The documentation for this class was generated from the following file:
Generated on Fri May 16 11:56:36 2008 for CrossPlatformJavaLikeC++API by  doxygen 1.5.3