@Deprecated
public final class ExceptionUtils
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private static java.lang.reflect.Method |
INIT_CAUSE_METHOD
Deprecated.
A reference to Throwable's initCause method, or null if it's not there in this JVM
|
| Modifier | Constructor and Description |
|---|---|
private |
ExceptionUtils()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
private static java.lang.reflect.Method |
getInitCauseMethod()
Deprecated.
Returns a
Method allowing access to
initCause method of Throwable,
or null if the method
does not exist. |
static void |
initCause(java.lang.Throwable throwable,
java.lang.Throwable cause)
Deprecated.
If we're running on JDK 1.4 or later, initialize the cause for the given throwable.
|
private static final java.lang.reflect.Method INIT_CAUSE_METHOD
private static java.lang.reflect.Method getInitCauseMethod()
Method allowing access to
initCause method of Throwable,
or null if the method
does not exist.Method for Throwable.initCause, or
null if unavailable.public static void initCause(java.lang.Throwable throwable,
java.lang.Throwable cause)
throwable - The throwable.cause - The cause of the throwable.