java::lang::Exception Class Reference

Inheritance diagram for java::lang::Exception:

Inheritance graph
java::awt::AWTExceptionjava::io::IOExceptionjava::lang::ClassNotFoundExceptionjava::lang::CloneNotSupportedExceptionjava::lang::InterruptedExceptionjava::lang::InvocationTargetExceptionjava::lang::RuntimeExceptionjava::util::TooManyListenersExceptionjava::lang::Throwablejava::lang::Objectjava::io::CharacterCodingExceptionjava::io::EOFExceptionjava::io::FileNotFoundExceptionjava::io::UTFDataFormatExceptionjava::net::SocketExceptionjava::net::SocketTimeoutExceptionjava::net::UnknownHostExceptionjava::io::MalformedInputExceptionjava::io::UnmappableCharacterExceptionjava::io::BufferOverflowExceptionjava::io::BufferUnderflowExceptionjava::lang::ArithmeticExceptionjava::lang::ClassCastExceptionjava::lang::IllegalArgumentExceptionjava::lang::IllegalMonitorStateExceptionjava::lang::IllegalStateExceptionjava::lang::IndexOutOfBoundsExceptionjava::lang::NullPointerExceptionjava::lang::UnsupportedOperationExceptionjava::util::NoSuchElementExceptionjava::io::IllegalCharsetNameExceptionjava::io::UnsupportedCharsetExceptionjava::lang::NumberFormatExceptionjava::awt::IllegalComponentStateExceptionjava::lang::ArrayIndexOutOfBoundsExceptionjava::lang::StringIndexOutOfBoundsException
[legend]
Collaboration diagram for java::lang::Exception:

Collaboration graph
java::lang::Throwablejava::lang::Objectjava::lang::Stringjava::lang::Interfacejava::lang::ObjectRefjava::lang::Comparable
[legend]

List of all members.


Detailed Description

The class Exception and its subclasses are a form of Throwable that indicates conditions that a reasonable application might want to catch.

Author:
Yuh-Jye Chang
Version:
1.27, 02/02/00
Since:
JDK1.0

Public Member Functions

 Exception (const String &message=nilCString, const Ref< Throwable > &target=0)
 Constructs a new exception with the specified detail message and cause.

Constructor & Destructor Documentation

java::lang::Exception::Exception ( const String message = nilCString,
const Ref< Throwable > &  target = 0 
)

Constructs a new exception with the specified detail message and cause.

Note that the detail message associated with cause is not automatically incorporated in this exception's detail message.

Parameters:
message the detail message (which is saved for later retrieval by the getMessage() method).
cause the cause (which is saved for later retrieval by the getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
Since:
1.4


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