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.