Package com.sas.lsaf.security.membership
Class MemberNotFoundException
- 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.MemberNotFoundException
-
- All Implemented Interfaces:
java.io.Serializable
public class MemberNotFoundException extends MembershipException
Thrown when the principal, or principals, specified is not a member of the context.- Since:
- 1.2
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MemberNotFoundException(java.util.Set<Principal> nonMembers, java.lang.String message)
Constructs aMemberNotFoundException
with the set of missing principals and the specified detail message.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Set<Principal>
getNonMembers()
Gets the set of principals that are not members of the context.-
Methods inherited from class com.sas.lsaf.core.AbstractCheckedException
getMessage, getRootCause
-
-
-
-
Constructor Detail
-
MemberNotFoundException
public MemberNotFoundException(java.util.Set<Principal> nonMembers, java.lang.String message)
Constructs aMemberNotFoundException
with the set of missing principals and the specified detail message.- Parameters:
nonMembers
- the set of principals that are not members of the context.message
- the detail message (which is saved for later retrieval by theAbstractCheckedException.getMessage()
method).
-
-
Method Detail
-
getNonMembers
public java.util.Set<Principal> getNonMembers()
Gets the set of principals that are not members of the context.- Returns:
- The set of principals that are not members of the context.
-
-