Class PermissionRequestDeniedException
public class PermissionRequestDeniedException extends SecurityExceptionEx
{
// Constructors
public PermissionRequestDeniedException();
public PermissionRequestDeniedException(String detail);
}
This class 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. Permissions are explicitly denied using the PolicyEngine.denyPermission method. This class extends the SecurityExceptionEx class.
SecurityException
|
+--SecurityExceptionEx
|
+--PermissionRequestDeniedException
public PermissionRequestDeniedException();
Creates an instance of PermissionRequestDeniedException.
public PermissionRequestDeniedException(String detail);
Creates an instance of PermissionRequestDeniedException with the specified detail description.
Parameter | Description |
detail
| The detail description that describes the error.
|