TException
- the type of exception that might be thrown.public interface Action2<TArg1,TArg2,TException extends Exception>
Modifier and Type | Method and Description |
---|---|
void |
invoke(TArg1 arg1,
TArg2 arg2)
Invokes the action with the given parameters.
|
void invoke(TArg1 arg1, TArg2 arg2) throws TException extends Exception
arg1
- the first parameter given to the encapsulated method.arg2
- the second parameter given to the encapsulated method.TException
- the exception the encapsulated method might throw.TException extends Exception