I - the type of the input to the operationT - the type of the exception the accept method may throw@FunctionalInterface public interface ThrowingConsumer<I,T extends Throwable>
Consumer| Modifier and Type | Method and Description |
|---|---|
void |
accept(I in)
Performs this operation on the given argument, potentially throwing an exception.
|
Apache Camel