TException
- the type of exception that might be thrown.public interface Action<TException extends Exception>
Modifier and Type | Method and Description |
---|---|
void |
invoke()
Invokes the action.
|
void invoke() throws TException extends Exception
TException
- the exception the encapsulated method might throw.TException extends Exception