Utility methods for dealing with exception
| Modifiers | Name | Description |
|---|---|---|
static java.lang.String |
EXCEPTION_ATTRIBUTE |
| Type | Name and description |
|---|---|
static int |
extractLineNumber(org.codehaus.groovy.control.CompilationFailedException e) |
static java.lang.RuntimeException |
getFirstRuntimeException(java.lang.Throwable e) |
static java.lang.Throwable |
getRootCause(java.lang.Throwable ex)Obtains the root cause of the given exception |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Obtains the root cause of the given exception
ex - The exception