Package com.sas.lsaf.security.role
Class InvalidRoleMemberException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.sas.lsaf.core.AbstractCheckedException
com.sas.lsaf.security.role.RoleException
com.sas.lsaf.security.role.InvalidRoleMemberException
- All Implemented Interfaces:
Serializable
Thrown when a role is created or updated with new members that violate any membership contracts.
The typical case for this is if a member being added to the role is NOT a member of the context.
- Since:
- 1.7
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionInvalidRoleMemberException(Set<Principal> invalidMembers, String message) Constructs anInvalidRoleMemberExceptionwith the invalid members and specified message. -
Method Summary
Modifier and TypeMethodDescriptionReturns the set of members that are invalid additions to the role.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
-
InvalidRoleMemberException
Constructs anInvalidRoleMemberExceptionwith the invalid members and specified message.- Parameters:
invalidMembers- the set of members that are invalid additions to the rolemessage- the detail message (which is saved for later retrieval by theAbstractCheckedException.getMessage()method).
-
-
Method Details
-
getInvalidMembers
Returns the set of members that are invalid additions to the role.- Returns:
- The set of members that are invalid additions to the role.
-