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

com::sleepycat::util::ExceptionWrapper Interface Reference

Inheritance diagram for com::sleepycat::util::ExceptionWrapper:

com::sleepycat::util::IOExceptionWrapper com::sleepycat::util::RuntimeExceptionWrapper

Public Member Functions

Throwable getDetail ()

Package Functions

Throwable getCause ()

Detailed Description

Interface implemented by exceptions that can contain nested exceptions.

Author:
Mark Hayes

Definition at line 17 of file ExceptionWrapper.java.


Member Function Documentation

Throwable com::sleepycat::util::ExceptionWrapper::getCause  )  [package]
 

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.

Implemented in com::sleepycat::util::IOExceptionWrapper, and com::sleepycat::util::RuntimeExceptionWrapper.

Throwable com::sleepycat::util::ExceptionWrapper::getDetail  ) 
 

Returns the nested exception or null if none is present.

Returns:
the nested exception or null if none is present.
Deprecated:
replaced by getCause.

Implemented in com::sleepycat::util::IOExceptionWrapper, and com::sleepycat::util::RuntimeExceptionWrapper.


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