Interface ThrowingConsumer<T,E extends Throwable>
- Type Parameters:
T
- the type accepted by this consumerE
- the type of exception thrown from the supplier
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Consumer with a generic exception.
- Since:
- 4.8.0
- Author:
- Jonas Konrad
-
Method Summary
-
Method Details
-
accept
Consume the value.- Parameters:
t
- The value- Throws:
E
- The generic exception
-