Interface ThrowingConsumer<T>
- Type Parameters:
T- The input type
- All Superinterfaces:
SpecificThrowingConsumer<Exception,T>
- 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 ThrowingConsumer<T>
extends SpecificThrowingConsumer<Exception,T>
Similar to a
Consumer, except that the functional accept method is allowed to throw any exception.- Since:
- 2.9
-
Method Summary
Methods inherited from interface org.omegazero.common.util.function.SpecificThrowingConsumer
accept