Interface ConsumerWithException<T>
- Type Parameters:
T- the type of the argument
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Deprecated.
Consumer interface that allows exceptions.
-
Method Summary
Modifier and TypeMethodDescriptionvoidDeprecated.static <T> Consumer<T> asConsumer(ConsumerWithException<T> unchecked) Deprecated.static <T> Consumer<T> asConsumerIgnoreException(ConsumerWithException<T> unchecked) Deprecated.Deprecated.Deprecated.
-
Method Details
-
accept
-
orElseThrow
-
ignoreException
-
asConsumer
Deprecated. -
asConsumerIgnoreException
Deprecated.
-