com.atlassian.crowd.exception.runtime
Class MembershipNotFoundException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.atlassian.crowd.exception.runtime.CrowdRuntimeException
                  extended by com.atlassian.crowd.exception.runtime.MembershipNotFoundException
All Implemented Interfaces:
Serializable

public class MembershipNotFoundException
extends CrowdRuntimeException

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:
Serialized Form

Constructor Summary
MembershipNotFoundException(String childName, String parentName)
           
MembershipNotFoundException(String childName, String parentName, Throwable e)
           
 
Method Summary
 String getChildName()
           
 String getParentName()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MembershipNotFoundException

public MembershipNotFoundException(String childName,
                                   String parentName)

MembershipNotFoundException

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

getChildName

public String getChildName()

getParentName

public String getParentName()


Copyright © 2013 Atlassian. All Rights Reserved.