March 2005
Beginner to intermediate
1254 pages
104h 21m
English
AccessControlException
Thrown
by AccessController to signal that an access
request has been denied. getPermission( ) returns
the Permission object, if any, that was involved
in the denied request.
Figure 14-1. java.security.AccessControlException
public class AccessControlException extends SecurityException { // Public Constructors public AccessControlException(String s); public AccessControlException(String s, Permission p); // Public Instance Methods public Permission getPermission( ); }
AccessControlContext.checkPermission( ),
AccessController.checkPermission( )
Read now
Unlock full access