public class ExceptionUtilRt
extends java.lang.Object
| Constructor and Description |
|---|
ExceptionUtilRt() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
causedBy(java.lang.Throwable e,
java.lang.Class<?> klass) |
static <T> T |
findCause(java.lang.Throwable e,
java.lang.Class<T> klass) |
static java.lang.String |
getThrowableText(java.lang.Throwable aThrowable,
java.lang.String stackFrameSkipPattern) |
static void |
rethrowAll(java.lang.Throwable t) |
static void |
rethrowUnchecked(java.lang.Throwable t) |
public static void rethrowUnchecked(java.lang.Throwable t)
public static void rethrowAll(java.lang.Throwable t)
throws java.lang.Exception
java.lang.Exceptionpublic static <T> T findCause(java.lang.Throwable e,
java.lang.Class<T> klass)
public static boolean causedBy(java.lang.Throwable e,
java.lang.Class<?> klass)
public static java.lang.String getThrowableText(java.lang.Throwable aThrowable,
java.lang.String stackFrameSkipPattern)