|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.httpclient.util.ExceptionUtil
The home for utility methods that handle various exception-related tasks.
| Constructor Summary | |
ExceptionUtil()
|
|
| Method Summary | |
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. |
static boolean |
isSocketTimeoutException(java.io.InterruptedIOException e)
If SocketTimeoutExceptionClass is defined, returns true only if the exception is an instance of SocketTimeoutExceptionClass. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ExceptionUtil()
| Method Detail |
public static void initCause(java.lang.Throwable throwable,
java.lang.Throwable cause)
throwable - The throwable.cause - The cause of the throwable.public static boolean isSocketTimeoutException(java.io.InterruptedIOException e)
e - an instance of InterruptedIOException class.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||