Package org.wildfly.security
Interface ParametricPrivilegedExceptionAction<T,P>
- Type Parameters:
T- the action result typeP- the action parameter type
- All Superinterfaces:
ExceptionFunction<P,T, Exception>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public interface ParametricPrivilegedExceptionAction<T,P>
extends ExceptionFunction<P,T,Exception>
A privileged action which accepts a parameter and can throw an exception.
- Author:
- David M. Lloyd
-
Method Summary
-
Method Details
-
apply
Description copied from interface:ExceptionFunctionApplies this function to the given arguments. -
run
Perform the action.- Parameters:
parameter- the passed-in parameter- Returns:
- the action result
- Throws:
Exception- if the action fails
-