public final class ThrowableUtil
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
private |
ThrowableUtil() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String[] |
convert(java.lang.Throwable t)
Convert a Throwable into a String array
|
static java.lang.String |
getStackTrace(java.lang.Throwable x)
Convert a Throwable into a String
|
public static java.lang.String getStackTrace(@CheckForNull java.lang.Throwable x)
x
- - the throwablepublic static java.lang.String[] convert(@CheckForNull java.lang.Throwable t)
t
-