Interface ParametricPrivilegedExceptionAction<T,​P>

  • Type Parameters:
    T - the action result type
    P - the action parameter type

    public interface ParametricPrivilegedExceptionAction<T,​P>
    A privileged action which accepts a parameter and can throw an exception.
    Author:
    David M. Lloyd
    • Method Detail

      • run

        T run​(P parameter)
        throws Exception
        Perform the action.
        Parameters:
        parameter - the passed-in parameter
        Returns:
        the action result
        Throws:
        Exception - if the action fails