public final class ExceptionUtils
extends java.lang.Object
Constructor and Description |
---|
ExceptionUtils() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
stackTraceToString(java.lang.Throwable e)
Converts a stack trace from a Throwable to a String.
|
static java.lang.String |
throwableToString(java.lang.Throwable e)
Converts a Throwable to a String, pulling out some
of the interesting Throwable information.
|
public static java.lang.String throwableToString(java.lang.Throwable e)
e
- Throwablepublic static java.lang.String stackTraceToString(java.lang.Throwable e)
e
- Throwable containing the stack trace