Module io.hotmoka.exceptions
Package io.hotmoka.exceptions.functions
Interface ConsumerWithExceptions1<T,E extends Throwable>
- Type Parameters:
T- the type of the consumed valueE- the type of exceptions
public interface ConsumerWithExceptions1<T,E extends Throwable>
A consumer that might throw exceptions.
-
Method Summary
-
Method Details
-
accept
Consumes the given argument.- Parameters:
t- the argument- Throws:
E- any exception thrown by the consumer
-