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