com.sas.hls.security.role.exception
Class InvalidRoleMemberException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.sas.hls.common.exception.AbstractCheckedException
com.sas.hls.security.role.exception.RoleException
com.sas.hls.security.role.exception.InvalidRoleMemberException
- All Implemented Interfaces:
- Serializable
public class InvalidRoleMemberException
- extends RoleException
Exception thrown when a role assignment is updated with new members that violate any membership contracts.
The typical case for this is if a member being added to the role assignment is NOT a member of the context.
- Since:
- 1.7
- See Also:
RoleAssignmentService.updateRoleAssignment(com.sas.hls.security.role.RoleAssignment)
,
Serialized Form
InvalidRoleMemberException
public InvalidRoleMemberException(Set<Principal> invalidMembers,
String message)
- Constructs an
InvalidRoleMemberException
with the invalid members and specified message.
- Parameters:
invalidMembers
- the set of members which are invalid additions to the role assignmentmessage
- the detailed message
getInvalidMembers
public Set<Principal> getInvalidMembers()
- Returns the set of members which are invalid additions to the role assignment.
- Returns:
- the set of members which are invalid additions to the role assignment
Copyright (c) 2016, SAS Institute Inc., Cary, NC, USA