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