public final class JDKUtils extends Object
| Constructor and Description |
|---|
JDKUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getRawMessage(Throwable ex)
Returns the raw error message stored in
Throwable and returned by default from
Throwable.getMessage(). |
static StackTraceElement[] |
getRawStackTrace(Throwable ex) |
public static String getRawMessage(Throwable ex)
Throwable and returned by default from
Throwable.getMessage(). This method ignores possible overrides of
Throwable.getMessage() and is therefore guaranteed to be allocation free.public static StackTraceElement[] getRawStackTrace(Throwable ex)