public class InvalidRoleMemberException extends RoleException
The typical case for this is if a member being added to the role is NOT a member of the context.
Constructor and Description |
---|
InvalidRoleMemberException(Set<Principal> invalidMembers,
String message)
Constructs an
InvalidRoleMemberException with the invalid members and specified message. |
Modifier and Type | Method and Description |
---|---|
Set<Principal> |
getInvalidMembers()
Returns the set of members that are invalid additions to the role.
|
getMessage, getRootCause
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public InvalidRoleMemberException(Set<Principal> invalidMembers, String message)
InvalidRoleMemberException
with the invalid members and specified message.invalidMembers
- the set of members that are invalid additions to the rolemessage
- the detail message (which is saved for later retrieval by the AbstractCheckedException.getMessage()
method).Copyright (c) 2020, SAS Institute Inc., Cary, NC, USA