Class AccessDeniedException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
DirectoryAccessDeniedException

public class AccessDeniedException extends SecurityException
Thrown if an operation is performed without a required authority.
Since:
7.0.1
Author:
Moran Avigdor
See Also:
  • Constructor Details

    • AccessDeniedException

      public AccessDeniedException(String message)
      Constructs a AccessDeniedException with the specified detail message.
      Parameters:
      message - the detail message.
    • AccessDeniedException

      public AccessDeniedException(String message, Throwable cause)
      Creates a AccessDeniedException with the specified detail message and cause.
      Parameters:
      message - the detail message (which is saved for later retrieval by the Throwable.getMessage() method).
      cause - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)