Class InvalidMemberException

All Implemented Interfaces:
Serializable

public class InvalidMemberException extends MembershipException
Thrown when an attempt is made to add Principals to a membership in which they are not potential members.
Since:
1.2
See Also:
  • Constructor Details

    • InvalidMemberException

      public InvalidMemberException(Set<Principal> invalidMembers, String message)
      Constructs an InvalidMemberException with the set of invalid principals and the specified detailed message.
      Parameters:
      invalidMembers - the set of invalid principals.
      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 invalid principals that are referenced by the exception. the
      Returns:
      The set of invalid principals that are referenced by this exception.