ExceptionWrapper, java.io.Serializablepublic class RuntimeExceptionWrapper extends java.lang.RuntimeException implements ExceptionWrapper
| Constructor | Description |
|---|---|
RuntimeExceptionWrapper(java.lang.Throwable e) |
| Modifier and Type | Method | Description |
|---|---|---|
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. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetCausepublic static java.lang.RuntimeException wrapIfNeeded(java.lang.Throwable e)
RuntimeException.e - any exception.e if it is a RuntimeException, otherwise a
RuntimeExceptionWrapper for e.@Deprecated public java.lang.Throwable getDetail()
Throwable.getCause().ExceptionWrappergetDetail in interface ExceptionWrapperCopyright (c) 1996, 2020 Oracle and/or its affiliates. All rights reserved.