public abstract class Exceptions
extends java.lang.Object
| Constructor and Description |
|---|
Exceptions() |
| Modifier and Type | Method and Description |
|---|---|
static java.util.List<java.lang.Throwable> |
getCauseChain(java.lang.Throwable exception)
Returns a list of all causes of the specified exception.
|
static java.lang.Throwable |
getRootCause(java.lang.Throwable exception)
Returns the innermost cause of the specified exception.
|
public static java.lang.Throwable getRootCause(java.lang.Throwable exception)
exception - an exceptionpublic static java.util.List<java.lang.Throwable> getCauseChain(java.lang.Throwable exception)
exception - an exception