Microsoft SDK for Java

PermissionRequestDeniedException Class

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.

Hierarchy

SecurityException
  |
  +--SecurityExceptionEx
    |
    +--PermissionRequestDeniedException

© 1999 Microsoft Corporation. All rights reserved. Terms of use.