Package com.tapkey.mobile.utils
Interface Action<TException extends Exception>
-
- Type Parameters:
TException
- the type of exception that might be thrown.
public interface Action<TException extends Exception>
Encapsulates a method that has no parameters and does not return a value, but might throw an exception.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
invoke()
Invokes the action.
-
-
-
Method Detail
-
invoke
void invoke() throws TException extends Exception
Invokes the action.- Throws:
TException
- the exception the encapsulated method might throw.TException extends Exception
-
-