Package org.jppf.client.taskwrapper
Class AbstractPrivilegedAction<T>
java.lang.Object
org.jppf.client.taskwrapper.AbstractPrivilegedAction<T>
- Type Parameters:
T- the type of value returned y the action.
- All Implemented Interfaces:
PrivilegedAction<T>
Abstract superclass for privileged actions used to invoke a method or constructor through reflection when a security manager is present.
- Author:
- Laurent Cohen
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the exception resulting from the method or constructor invocation.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.security.PrivilegedAction
run
-
Field Details
-
exception
Used to capture an exception resulting from the method or constructor invocation. -
args
The parameters of the method or constructor to invoke.
-
-
Constructor Details
-
AbstractPrivilegedAction
public AbstractPrivilegedAction()
-
-
Method Details
-
getException
Get the exception resulting from the method or constructor invocation.- Returns:
- an
Exceptioninstance.
-