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.T run() throws Exception
AccessController.doPrivileged().Exception - An implementation specific exceptionAccessController.doPrivileged(PrivilegedExceptionAction),
AccessController.doPrivileged(PrivilegedExceptionAction,
AccessControlContext)