@FunctionalInterface public interface ThrowingSupplier<T,X extends Throwable>
| Modifier and Type | Method and Description |
|---|---|
default Supplier<T> |
asUnchecked() |
T |
get() |
default Supplier<Optional<T>> |
ifException(Consumer<Exception> exceptionHandler) |
default Supplier<T> |
ifExceptionGet(Function<Exception,T> recoveryFunction) |
Copyright © 2016 Digipost. All rights reserved.