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