|
Berkeley DB version 4.8.30 |
|||||||||
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.lang.RuntimeException com.sleepycat.util.RuntimeExceptionWrapper
public class RuntimeExceptionWrapper
A RuntimeException that can contain nested exceptions.
Constructor Summary | |
---|---|
RuntimeExceptionWrapper(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 RuntimeExceptionWrapper(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 4.8.30 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |