Module io.hotmoka.exceptions
Package io.hotmoka.exceptions.functions
Interface ConsumerWithExceptions2<T,E1 extends Throwable,E2 extends Throwable>
- Type Parameters:
T- the type of the consumed valueE1- the first type of exceptionsE2- the second type of exceptions
A consumer that might throw exceptions.
-
Method Summary
-
Method Details
-
accept
Consumes the given argument.- Parameters:
t- the argument- Throws:
E1- a first type of exception thrown by the consumerE2- a second type of exception thrown by the consumer
-