default RunnableWithException<E> |
RunnableWithException.andThen(RunnableWithException<? extends E> after) |
Returns a composed RunnableWithException that performs, in sequence,
this operation followed by the after operation.
|
static <T,R,E extends Exception> FunctionWithException<T,R,E> |
RunnableWithException.asFunction(RunnableWithException<E> operation) |
Converts a RunnableWithException to a FunctionWithException
returning null and ignoring input.
|
static <E extends Exception> Runnable |
RunnableWithException.ignored(RunnableWithException<E> operation) |
Converts a RunnableWithException to a lifted Runnable
ignoring exception.
|
static <E extends Exception> Runnable |
RunnableWithException.lifted(RunnableWithException<E> operation) |
Converts a RunnableWithException to a lifted Runnable
ignoring exception.
|
static CompletionStage<Void> |
NoReturnExceptionHandlerSupport.staged(RunnableWithException<?> internal) |
Used internally to support the exception interception.
|
static <E extends Exception> Supplier<CompletionStage<Void>> |
RunnableWithException.staged(RunnableWithException<E> operation) |
Converts a RunnableWithException to a staged Supplier .
|
static void |
NoReturnExceptionHandlerSupport.unchecked(RunnableWithException<?> internal,
Consumer<Exception> exceptionhandler) |
Used internally to support the exception interception.
|
static <E extends Exception> Runnable |
RunnableWithException.unchecked(RunnableWithException<E> operation) |
Converts a RunnableWithException to a Runnable that wraps
exception to RuntimeException .
|
static <E extends Exception> Runnable |
RunnableWithException.unchecked(RunnableWithException<E> operation,
Function<Exception,RuntimeException> exceptionMapper) |
Converts a RunnableWithException to a Runnable that wraps
exception to RuntimeException by using the provided mapping function.
|