|
Berkeley DB version 5.2.36 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception java.io.IOException com.sleepycat.util.IOExceptionWrapper
public class IOExceptionWrapper
An IOException that can contain nested exceptions.
Constructor Summary | |
---|---|
IOExceptionWrapper(Throwable e)
|
Method Summary | |
---|---|
Throwable |
getCause()
Returns the nested exception or null if none is present. |
Throwable |
getDetail()
Deprecated. replaced by getCause() . |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public IOExceptionWrapper(Throwable e)
Method Detail |
---|
public Throwable getDetail()
getCause()
.
ExceptionWrapper
getDetail
in interface ExceptionWrapper
public Throwable getCause()
ExceptionWrapper
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.
getCause
in interface ExceptionWrapper
getCause
in class Throwable
|
Berkeley DB version 5.2.36 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |