public class

MembershipNotFoundException

extends ObjectNotFoundException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ com.atlassian.crowd.exception.CrowdException
         ↳ com.atlassian.crowd.exception.ObjectNotFoundException
           ↳ com.atlassian.crowd.exception.MembershipNotFoundException

Class Overview

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.

Summary

Public Constructors
MembershipNotFoundException(String childName, String parentName)
MembershipNotFoundException(String childName, String parentName, Throwable e)
Public Methods
String getChildName()
Returns name of the child.
String getParentName()
Returns names of the parent.
[Expand]
Inherited Methods
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public MembershipNotFoundException (String childName, String parentName)

public MembershipNotFoundException (String childName, String parentName, Throwable e)

Public Methods

public String getChildName ()

Returns name of the child.

Returns
  • name of the child

public String getParentName ()

Returns names of the parent.

Returns
  • name of the parent