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