com.sas.hls.security.membership.exception
Class MemberExistsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.sas.hls.common.exception.AbstractCheckedException
com.sas.hls.security.membership.exception.MembershipException
com.sas.hls.security.membership.exception.MemberExistsException
- All Implemented Interfaces:
- Serializable
public class MemberExistsException
- extends MembershipException
The principal specified is already a member of this membership context.
- See Also:
- Serialized Form
MemberExistsException
public MemberExistsException(Set<Principal> existingMembers,
String message)
- Constructs a MembershipExistsException with the specified message and list of principals.
- Parameters:
existingMembers
- The set of principals which are already members.message
- The detailed message for this exception.
getExistingMembers
public Set<Principal> getExistingMembers()
- Get the set of principals which are already members of this context.
- Returns:
- the set of principals which are already members of this context
Copyright (c) 2012, SAS Institute Inc., Cary, NC, USA