|
Berkeley DB version 4.5.20 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.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 ExceptionWrapperpublic Throwable getCause()
ExceptionWrapperThis 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 ExceptionWrappergetCause in class Throwable
|
Berkeley DB version 4.5.20 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||