Module io.hotmoka.exceptions
Package io.hotmoka.exceptions.functions
Interface ConsumerWithExceptions5<T,E1 extends Throwable,E2 extends Throwable,E3 extends Throwable,E4 extends Throwable,E5 extends Throwable>
- Type Parameters:
T- the type of the consumed valueE1- the first type of exceptionsE2- the second type of exceptionsE3- the third type of exceptionsE4- the fourth type of exceptionsE5- the fifth type of exceptions
public interface ConsumerWithExceptions5<T,E1 extends Throwable,E2 extends Throwable,E3 extends Throwable,E4 extends Throwable,E5 extends Throwable>
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 consumerE3- a third type of exception thrown by the consumerE4- a fourth type of exception thrown by the consumerE5- a fifth type of exception thrown by the consumer
-