Module io.hotmoka.exceptions
Package io.hotmoka.exceptions.functions
Interface FunctionWithExceptions1<T,R,E extends Throwable>
- Type Parameters:
T- the type of the parameter of the functionR- the type of the result of the functionE- the type of the exceptions
public interface FunctionWithExceptions1<T,R,E extends Throwable>
A function that might throw exceptions.
-
Method Summary
-
Method Details
-
apply
Applies the function.- Parameters:
t- the argument to the function- Returns:
- the result of the function
- Throws:
E- any exception thrown by the function
-