Package io.smallrye.common.function
Interface ExceptionSupplier<T,E extends Exception>
-
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface ExceptionSupplier<T,E extends Exception>
A supplier which can throw an exception.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ExceptionRunnable<E>andThen(ExceptionConsumer<? super T,? extends E> after)default <R> ExceptionSupplier<R,E>andThen(ExceptionFunction<? super T,? extends R,? extends E> after)Tget()Gets a result.
-
-
-
Method Detail
-
andThen
default ExceptionRunnable<E> andThen(ExceptionConsumer<? super T,? extends E> after)
-
andThen
default <R> ExceptionSupplier<R,E> andThen(ExceptionFunction<? super T,? extends R,? extends E> after)
-
-