Access | Constructor and Description |
---|---|
private |
Modifier and Type | Method and Description |
---|---|
public static void | |
public static void | |
public static void | |
public static Throwable[] | |
public static boolean | |
public static String | Returns: the stack trace as generated byThrowable#printStackTrace(java. method.the cause)Throwable to be examinedGets the stack trace from a Throwable as a String. |
public static <T extends Throwable> T | unknownStackTrace(T cause, Class<?> clazz, String method)
Set the |
ThrowableUtil | back to summary |
---|---|
private ThrowableUtil() |
addSuppressed | back to summary |
---|---|
public static void addSuppressed(Throwable target, Throwable suppressed)
|
addSuppressed | back to summary |
---|---|
public static void addSuppressed(Throwable target, List<Throwable> suppressed) |
addSuppressedAndClear | back to summary |
---|---|
public static void addSuppressedAndClear(Throwable target, List<Throwable> suppressed) |
getSuppressed | back to summary |
---|---|
public static Throwable[] getSuppressed(Throwable source)
|
haveSuppressed | back to summary |
---|---|
public static boolean haveSuppressed() |
stackTraceToString | back to summary |
---|---|
public static String stackTraceToString(Throwable cause) Gets the stack trace from a Throwable as a String.
|
unknownStackTrace | back to summary |
---|---|
public static <T extends Throwable> T unknownStackTrace(T cause, Class<?> clazz, String method) Set the |