Package com.sas.lsaf.security.membership
Class InvalidMemberException
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.InvalidMemberException
- All Implemented Interfaces:
Serializable
Thrown when an attempt is made to add Principals to a membership in which they are not potential members.
- Since:
- 1.2
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionInvalidMemberException(Set<Principal> invalidMembers, String message) Constructs anInvalidMemberExceptionwith the set of invalid principals and the specified detailed message. -
Method Summary
Modifier and TypeMethodDescriptionGets the set of invalid principals that are referenced by the exception.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
-
InvalidMemberException
Constructs anInvalidMemberExceptionwith the set of invalid principals and the specified detailed message.- Parameters:
invalidMembers- the set of invalid principals.message- the detail message (which is saved for later retrieval by theAbstractCheckedException.getMessage()method).
-
-
Method Details
-
getInvalidMembers
Gets the set of invalid principals that are referenced by the exception. the- Returns:
- The set of invalid principals that are referenced by this exception.
-