@FunctionalInterface
public interface ThrowingConsumer<ExceptionT extends java.lang.Exception,T>
Consumer which can throw Exceptions.
Used to expand the allowed set of method references to be used by Java 8 functional interfaces.
| Modifier and Type | Method and Description |
|---|---|
void |
accept(T t) |
void accept(T t) throws ExceptionT extends java.lang.Exception
ExceptionT extends java.lang.Exception