Module io.hotmoka.exceptions
Package io.hotmoka.exceptions.functions
Interface FunctionWithExceptions7<T,R,E1 extends Throwable,E2 extends Throwable,E3 extends Throwable,E4 extends Throwable,E5 extends Throwable,E6 extends Throwable,E7 extends Throwable>
- Type Parameters:
T- the type of the parameter of the functionR- the type of the result of the functionE1- the first type of exceptionsE2- the second type of exceptionsE3- the third type of exceptionsE4- the fourth type of exceptionsE5- the fifth type of exceptionsE6- the sixth type of exceptionsE7- the seventh type of exceptions
public interface FunctionWithExceptions7<T,R,E1 extends Throwable,E2 extends Throwable,E3 extends Throwable,E4 extends Throwable,E5 extends Throwable,E6 extends Throwable,E7 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:
E1- a first type of exceptions thrown by the functionE2- a second type of exceptions thrown by the functionE3- a third type of exceptions thrown by the functionE4- a fourth type of exceptions thrown by the functionE5- a fifth type of exceptions thrown by the functionE6- a sixth type of exceptions thrown by the functionE7- a seventh type of exceptions thrown by the function
-