PrivilegedExceptionAction<T> | java.security |
This interface is like PrivilegedAction, except that its run( ) method may throw an exception. See PrivilegedAction for details.public interface PrivilegedExceptionAction<T> { // Public Instance Methods T run ( ) throws Exception; }
Passed To AccessController.doPrivileged( ), java.util.concurrent.Executors.callable( ), javax.security.auth.Subject.{doAs( ), doAsPrivileged( )} |