Package com.sas.lsaf.security.privilege
Class InvalidPrivilegeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.sas.lsaf.core.AbstractCheckedException
com.sas.lsaf.security.privilege.PrivilegeException
com.sas.lsaf.security.privilege.InvalidPrivilegeException
- All Implemented Interfaces:
Serializable
Thrown when a specified privilege is not defined or is not associated with the specified scope.
- Since:
- 1.2
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionInvalidPrivilegeException(String message, Set<Privilege> privileges) Constructs anInvalidPrivilegeExceptionwith the specified detail message and invalid privileges. -
Method Summary
Modifier and TypeMethodDescriptionGets the set of invalid privileges.Methods inherited from class com.sas.lsaf.core.AbstractCheckedException
getMessage, getRootCauseMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InvalidPrivilegeException
Constructs anInvalidPrivilegeExceptionwith the specified detail message and invalid privileges.- Parameters:
message- the detail message (which is saved for later retrieval by theAbstractCheckedException.getMessage()method).privileges- the set of privileges that are invalid.
-
-
Method Details
-
getPrivileges
Gets the set of invalid privileges.- Returns:
- The set of invalid privileges.
-