|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.loom.util.ExceptionUtils
public class ExceptionUtils
| Constructor Summary | |
|---|---|
ExceptionUtils()
|
|
| Method Summary | ||
|---|---|---|
static java.lang.Throwable |
getNestedException(java.lang.Throwable e)
Return a reasonable guess about the exception cause, removing any exception that is only meant as a wrapper |
|
static
|
getNestedExceptionWithClass(java.lang.Throwable e,
java.lang.Class<T> expectedClass)
Return the nested exception with the expected exception class |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ExceptionUtils()
| Method Detail |
|---|
public static java.lang.Throwable getNestedException(java.lang.Throwable e)
public static <T extends java.lang.Throwable> T getNestedExceptionWithClass(java.lang.Throwable e,
java.lang.Class<T> expectedClass)
e - the exception to start the searchexpectedClass - the expected class.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||