Class InvalidPrivilegeException

All Implemented Interfaces:
Serializable

public class InvalidPrivilegeException extends PrivilegeException
Thrown when a specified privilege is not defined or is not associated with the specified scope.
Since:
1.2
See Also:
  • Constructor Details

    • InvalidPrivilegeException

      public InvalidPrivilegeException(String message, Set<Privilege> privileges)
      Constructs an InvalidPrivilegeException with the specified detail message and invalid privileges.
      Parameters:
      message - the detail message (which is saved for later retrieval by the AbstractCheckedException.getMessage() method).
      privileges - the set of privileges that are invalid.
  • Method Details

    • getPrivileges

      public Set<Privilege> getPrivileges()
      Gets the set of invalid privileges.
      Returns:
      The set of invalid privileges.