public class Exceptions
extends java.lang.Object
| Modifier and Type | Method | Description |
|---|---|---|
static java.lang.Throwable |
getRootCause(java.lang.Throwable exception) |
Returns the root cause of the given exception.
|
static java.lang.String |
getStackTrace(java.lang.Throwable exception) |
Returns the stack trace of the given exception.
|
public static java.lang.Throwable getRootCause(java.lang.Throwable exception)
java.lang.IllegalArgumentException - if exception is nullpublic static java.lang.String getStackTrace(java.lang.Throwable exception)
java.lang.IllegalArgumentException - if exception is null