Main Page | Class Hierarchy | Data Structures | Directories | File List | Data Fields | Related Pages

com::sleepycat::util::RuntimeExceptionWrapper Class Reference

Inheritance diagram for com::sleepycat::util::RuntimeExceptionWrapper:

com::sleepycat::util::ExceptionWrapper

Public Member Functions

Throwable getDetail ()
Throwable getCause ()

Detailed Description

A RuntimeException that can contain nested exceptions.

Author:
Mark Hayes

Definition at line 17 of file RuntimeExceptionWrapper.java.


Member Function Documentation

Throwable com::sleepycat::util::RuntimeExceptionWrapper::getCause  )  [inline]
 

Returns the nested exception or null if none is present.

This method is intentionally defined to be the same signature as the java.lang.Throwable.getCause method in Java 1.4 and greater. By defining this method to return a nested exception, the Java 1.4 runtime will print the nested stack trace.

Returns:
the nested exception or null if none is present.

Implements com::sleepycat::util::ExceptionWrapper.

Definition at line 36 of file RuntimeExceptionWrapper.java.

Throwable com::sleepycat::util::RuntimeExceptionWrapper::getDetail  )  [inline]
 

Deprecated:
replaced by getCause.

Implements com::sleepycat::util::ExceptionWrapper.

Definition at line 31 of file RuntimeExceptionWrapper.java.


The documentation for this class was generated from the following file:
Generated on Sun Dec 25 12:15:03 2005 for Berkeley DB 4.4.16 by  doxygen 1.4.2