The PermissionRequestDeniedException Class of the com.ms.security package represents a security exception that is thrown by a component of the security system when a security check fails because a permission has been explicitly denied.
public class PermissionRequestDeniedException extends SecurityExceptionEx { // Constructors public PermissionRequestDeniedException(); public PermissionRequestDeniedException(String detail); }
Permissions are explicitly denied using the PolicyEngine.denyPermission method. This class extends the SecurityExceptionEx class.
SecurityException | +--SecurityExceptionEx | +--PermissionRequestDeniedException