com.atlassian.crowd.exception
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.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()
           
MembershipNotFoundException(java.lang.String child, java.lang.String parent)
           
MembershipNotFoundException(java.lang.String child, java.lang.String parent, java.lang.Throwable e)
           
 
Method Summary
 java.lang.String getChild()
           
 java.lang.String getParent()
           
 void setChild(java.lang.String child)
           
 void setParent(java.lang.String parent)
           
 
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()

MembershipNotFoundException

public MembershipNotFoundException(java.lang.String child,
                                   java.lang.String parent)

MembershipNotFoundException

public MembershipNotFoundException(java.lang.String child,
                                   java.lang.String parent,
                                   java.lang.Throwable e)
Method Detail

getChild

public java.lang.String getChild()

getParent

public java.lang.String getParent()

setChild

public void setChild(java.lang.String child)

setParent

public void setParent(java.lang.String parent)


Copyright © 2010 Atlassian. All Rights Reserved.