|
|||||||||
| Home >> All >> org >> apache >> http >> [ util overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.apache.http.util
Class ExceptionUtils

java.lang.Objectorg.apache.http.util.ExceptionUtils
- public class ExceptionUtils
- extends java.lang.Object
The home for utility methods that handle various exception-related tasks.
- Since:
- 3.0
| Field Summary | |
private static java.lang.reflect.Method |
INIT_CAUSE_METHOD
A reference to Throwable's initCause method, or null if it's not there in this JVM |
| Constructor Summary | |
private |
ExceptionUtils()
|
| Method Summary | |
private static java.lang.reflect.Method |
getInitCauseMethod()
Returns a Method |
static void |
initCause(java.lang.Throwable throwable,
java.lang.Throwable cause)
If we're running on JDK 1.4 or later, initialize the cause for the given throwable. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
INIT_CAUSE_METHOD
private static final java.lang.reflect.Method INIT_CAUSE_METHOD
- A reference to Throwable's initCause method, or null if it's not there in this JVM
| Constructor Detail |
ExceptionUtils
private ExceptionUtils()
| Method Detail |
getInitCauseMethod
private static java.lang.reflect.Method getInitCauseMethod()
- Returns a
Methodallowing access to initCause method of java.lang.Throwable, ornullif the method does not exist.
initCause
public static void initCause(java.lang.Throwable throwable, java.lang.Throwable cause)
- If we're running on JDK 1.4 or later, initialize the cause for the given throwable.
|
|||||||||
| Home >> All >> org >> apache >> http >> [ util overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
org.apache.http.util.ExceptionUtils