com.atlassian.crowd.integration.exception
Class MembershipNotFoundException

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

public class MembershipNotFoundException
extends java.lang.Exception

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 attemps 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 message)
           
MembershipNotFoundException(java.lang.String childName, java.lang.String parentName)
           
MembershipNotFoundException(java.lang.String message, java.lang.Throwable cause)
           
MembershipNotFoundException(java.lang.Throwable cause)
           
 
Method Summary
 java.lang.String getChildName()
           
 java.lang.String getParentName()
           
 void setChildName(java.lang.String childName)
           
 void setParentName(java.lang.String parentName)
           
 
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()

MembershipNotFoundException

public MembershipNotFoundException(java.lang.String message)

MembershipNotFoundException

public MembershipNotFoundException(java.lang.String message,
                                   java.lang.Throwable cause)

MembershipNotFoundException

public MembershipNotFoundException(java.lang.Throwable cause)
Method Detail

setParentName

public void setParentName(java.lang.String parentName)

setChildName

public void setChildName(java.lang.String childName)

getParentName

public java.lang.String getParentName()

getChildName

public java.lang.String getChildName()


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.