public class ExceptionUtil
extends java.lang.Object
| 构造器和说明 |
|---|
ExceptionUtil() |
| 限定符和类型 | 方法和说明 |
|---|---|
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.
|
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.