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:
java.io.Serializable
public class InvalidRoleMemberException extends RoleException
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InvalidRoleMemberException(java.util.Set<Principal> invalidMembers, java.lang.String message)
Constructs anInvalidRoleMemberException
with the invalid members and specified message.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Set<Principal>
getInvalidMembers()
Returns the set of members that are invalid additions to the role.-
Methods inherited from class com.sas.lsaf.core.AbstractCheckedException
getMessage, getRootCause
-
-
-
-
Constructor Detail
-
InvalidRoleMemberException
public InvalidRoleMemberException(java.util.Set<Principal> invalidMembers, java.lang.String message)
Constructs anInvalidRoleMemberException
with 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 Detail
-
getInvalidMembers
public java.util.Set<Principal> 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.
-
-