com.atlassian.crowd.exception
Class MembershipNotFoundException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.atlassian.crowd.exception.CrowdException
              extended by com.atlassian.crowd.exception.MembershipNotFoundException
All Implemented Interfaces:
java.io.Serializable

public class MembershipNotFoundException
extends CrowdException

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(java.lang.String childName, java.lang.String parentName)
           
MembershipNotFoundException(java.lang.String childName, java.lang.String parentName, java.lang.Throwable e)
           
 
Method Summary
 java.lang.String getChildName()
           
 java.lang.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(java.lang.String childName,
                                   java.lang.String parentName)

MembershipNotFoundException

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

getChildName

public java.lang.String getChildName()

getParentName

public java.lang.String getParentName()


Copyright © 2010 Atlassian. All Rights Reserved.