ExceptionHandler<T> |
ExceptionHandler.handleException(String message) |
|
ExceptionHandler<T> |
ExceptionHandler.handleServiceOrAccess(String message) |
|
ExceptionHandler<T> |
ExceptionHandler.handleServiceOrServer(String message) |
|
static <I,R> ExceptionHandler<R> |
ExceptionHandler.of(I input,
ExceptionHandler.ThrowingFunction<? super I,? extends R,? extends Exception> mapper) |
Creates an ExceptionHandler from an object and a function.
|
static <I> ExceptionHandler<I> |
ExceptionHandler.ofConsumer(I input,
ExceptionHandler.ThrowingConsumer<? super I,? extends Exception> consumer) |
Creates an ExceptionHandler from an object and a function with no return value.
|
<E extends Throwable> ExceptionHandler<T> |
ExceptionHandler.rethrow(Class<E> type) |
Throws an exception from the specified type, if one was caught.
|
<E extends Throwable,F extends Throwable> ExceptionHandler<T> |
ExceptionHandler.rethrow(Class<E> type,
ExceptionHandler.ExceptionWrapper<? super E,? extends F> mapper,
String message) |
Throws an exception converted from the specified type, if one was caught.
|