Package no.digipost.function
Interface ThrowingConsumer<T,X extends Throwable>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
Modifier and TypeMethodDescriptionvoiddefault ThrowingConsumer<T,X> andThen(ThrowingConsumer<? super T, ? extends X> after) ifException(BiConsumer<? super T, Exception> exceptionHandler) ifException(Consumer<Exception> exceptionHandler)