Name

PrivilegedExceptionAction<T>

Synopsis

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( )}

Get Java in a Nutshell, 5th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.