Package aQute.lib.exceptions
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 TypeMethodDescriptionvoid
Deprecated.static <T> Consumer<T>
asConsumer
(ConsumerWithException<T> unchecked) Deprecated.static <T> Consumer<T>
asConsumerIgnoreException
(ConsumerWithException<T> unchecked) Deprecated.Deprecated.Deprecated.
-
Method Details
-
accept
Deprecated.- Throws:
Exception
-
orElseThrow
Deprecated. -
ignoreException
Deprecated. -
asConsumer
Deprecated. -
asConsumerIgnoreException
Deprecated.
-