Class MembershipNotFoundException

All Implemented Interfaces:
Serializable

public class MembershipNotFoundException extends ObjectNotFoundException
Used to denote that a particular USER-GROUP or GROUP-GROUP membership does not exist. This could be thrown in cases where the calling code attempts to remove a user from a group when the user is not a direct member of the group, etc.
See Also:
  • Constructor Details

    • MembershipNotFoundException

      public MembershipNotFoundException(String childName, String parentName)
    • MembershipNotFoundException

      public MembershipNotFoundException(String childName, String parentName, Throwable e)
  • Method Details

    • getChildName

      public String getChildName()
      Returns name of the child.
      Returns:
      name of the child
    • getParentName

      public String getParentName()
      Returns names of the parent.
      Returns:
      name of the parent