Package com.sas.lsaf.security.membership
Class MemberExistsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.sas.lsaf.core.AbstractCheckedException
com.sas.lsaf.security.membership.MembershipException
com.sas.lsaf.security.membership.MemberExistsException
- All Implemented Interfaces:
Serializable
Thrown when a principal, or set of principals, is currently a member of the context.
- Since:
- 1.2
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionMemberExistsException(Set<Principal> existingMembers, String message) Constructs aMemberExistsExceptionwith the set of existing principals and and the specified detail message. -
Method Summary
Modifier and TypeMethodDescriptionGets the set of principals that are members of the context.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
-
MemberExistsException
Constructs aMemberExistsExceptionwith the set of existing principals and and the specified detail message.- Parameters:
existingMembers- the set of principals which are members.message- the detail message (which is saved for later retrieval by theAbstractCheckedException.getMessage()method).
-
-
Method Details
-
getExistingMembers
Gets the set of principals that are members of the context.- Returns:
- The set of principals that are members of the context.
-