Class MemberNotFoundException

All Implemented Interfaces:
Serializable

public class MemberNotFoundException extends MembershipException
Thrown when the principal, or principals, specified is not a member of the context.
Since:
1.2
See Also:
  • Constructor Details

    • MemberNotFoundException

      public MemberNotFoundException(Set<Principal> nonMembers, String message)
      Constructs a MemberNotFoundException with the set of missing principals and the specified detail message.
      Parameters:
      nonMembers - the set of principals that are not members of the context.
      message - the detail message (which is saved for later retrieval by the AbstractCheckedException.getMessage() method).
  • Method Details

    • getNonMembers

      public Set<Principal> getNonMembers()
      Gets the set of principals that are not members of the context.
      Returns:
      The set of principals that are not members of the context.