public interface ExceptionHandler
| Modifier and Type | Method and Description |
|---|---|
static boolean |
causeOf(Throwable exception,
Class<?> of)
check to see whether or not the given exception has a an exception of type `of` in its cause stack.
|
DynamicException |
convert(Throwable t) |
static boolean |
instanceOf(Class<?> point,
Class<?> of)
checks to see if a class is an child of `of`
|
static boolean |
instanceOf(Throwable point,
Class<?> of)
checks to see if an object is an instance of `of`
|
DynamicException convert(Throwable t)
static boolean instanceOf(Class<?> point, Class<?> of)
point - an exception's classof - an exception's classstatic boolean instanceOf(Throwable point, Class<?> of)
point - an exceptionof - an exception's classCopyright © 2019. All rights reserved.