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.AccessControlExceptionpublic class AccessControlException extends SecurityException { // Public Constructors public AccessControlException (String s ); public AccessControlException (String s , Permission p ); // Public Instance Methods public Permission getPermission ( ); } Thrown ByAccessControlContext.checkPermission( ) , AccessController.checkPermission( ) |