java.security
public interface PrivilegedExceptionAction<T>
AccessController.doPrivileged()
in order to perform a
privileged operation with higher privileges enabled. This interface
differs from PrivilegedAction
in that the run
method in this interface may throw a checked exception.
Since: 1.1
UNKNOWN: updated to 1.5
Method Summary | |
---|---|
T | run()
This method performs an operation that requires higher privileges to
successfully complete. |
AccessController.doPrivileged()
.
Returns: obj An implementation defined return value
Throws: Exception An implementation specific exception
See Also: doPrivileged AccessController