|
|||||||||
| 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(java.lang.Throwable e)
|
|
| Method Summary | |
|---|---|
java.lang.Throwable |
getDetail()
Deprecated. replaced by Throwable.getCause(). |
static java.lang.RuntimeException |
wrapIfNeeded(java.lang.Throwable e)
Wraps the given exception if it is not a RuntimeException. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, 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 |
| Methods inherited from interface com.sleepycat.util.ExceptionWrapper |
|---|
getCause |
| Constructor Detail |
|---|
public RuntimeExceptionWrapper(java.lang.Throwable e)
| Method Detail |
|---|
public static java.lang.RuntimeException wrapIfNeeded(java.lang.Throwable e)
RuntimeException.
e - any exception.
e if it is a RuntimeException, otherwise a
RuntimeExceptionWrapper for e.public java.lang.Throwable getDetail()
Throwable.getCause().
ExceptionWrapper
getDetail in interface ExceptionWrapper
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||