@FunctionalInterface public interface ThrowingRunnable<X extends Throwable>
| Modifier and Type | Method and Description |
|---|---|
default Runnable |
asUnchecked() |
default Runnable |
ifException(Consumer<Exception> exceptionHandler) |
default Runnable |
ifExceptionThrow(Function<? super Exception,? extends RuntimeException> exceptionMapper) |
void |
run() |
default Runnable asUnchecked()
default Runnable ifExceptionThrow(Function<? super Exception,? extends RuntimeException> exceptionMapper)
Copyright © 2019 Digipost. All rights reserved.