public class MemberExistsException extends MembershipException
Constructor and Description |
---|
MemberExistsException(Set<Principal> existingMembers,
String message)
Constructs a
MemberExistsException with the set of existing principals and and the specified detail message. |
Modifier and Type | Method and Description |
---|---|
Set<Principal> |
getExistingMembers()
Gets the set of principals that are members of the context.
|
getMessage, getRootCause
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public MemberExistsException(Set<Principal> existingMembers, String message)
MemberExistsException
with the set of existing principals and and the specified detail message.existingMembers
- the set of principals which are members.message
- the detail message (which is saved for later retrieval by the AbstractCheckedException.getMessage()
method).Copyright (c) 2020, SAS Institute Inc., Cary, NC, USA