Package com.sas.lsaf.security.group
Class InvalidGroupMemberException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.sas.lsaf.core.AbstractCheckedException
com.sas.lsaf.security.group.GroupException
com.sas.lsaf.security.group.InvalidGroupMemberException
- All Implemented Interfaces:
Serializable
Thrown when a group is updated with new members that violate membership contracts.
The typical case is when a member to add to the group is NOT a member of the context.
- Since:
- 1.2
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionInvalidGroupMemberException(Set<Principal> invalidMembers, String message) Constructs anInvalidGroupMemberExceptionwith the specified invalid members and detail message. -
Method Summary
Modifier and TypeMethodDescriptionGets the set of members that are invalid additions to the group.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
-
InvalidGroupMemberException
Constructs anInvalidGroupMemberExceptionwith the specified invalid members and detail message.- Parameters:
invalidMembers- the set of members that are invalid additions to the group.message- the detail message (which is saved for later retrieval by theAbstractCheckedException.getMessage()method).
-
-
Method Details
-
getInvalidMembers
Gets the set of members that are invalid additions to the group.- Returns:
- The set of members that are invalid additions to the group.
-