Class InvalidGroupMemberException

All Implemented Interfaces:
Serializable

public class InvalidGroupMemberException extends GroupException
Thrown when a group is updated with new members that violate membership contracts.

The typical case is when a member to add to the group is NOT a member of the context.

Since:
1.2
See Also:
  • Constructor Details

    • InvalidGroupMemberException

      public InvalidGroupMemberException(Set<Principal> invalidMembers, String message)
      Constructs an InvalidGroupMemberException with the specified invalid members and detail message.
      Parameters:
      invalidMembers - the set of members that are invalid additions to the group.
      message - the detail message (which is saved for later retrieval by the AbstractCheckedException.getMessage() method).
  • Method Details

    • getInvalidMembers

      public Set<Principal> getInvalidMembers()
      Gets the set of members that are invalid additions to the group.
      Returns:
      The set of members that are invalid additions to the group.