com.atlassian.crowd.exception
Class MembershipAlreadyExistsException

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.MembershipAlreadyExistsException
All Implemented Interfaces:
java.io.Serializable

public class MembershipAlreadyExistsException
extends CrowdRuntimeException

Thrown to indicate that a membership cannot be added because it already exists. Note this exception is unchecked to preserve the API, but may become checked in future versions (CWD-3203).

See Also:
Serialized Form

Constructor Summary
MembershipAlreadyExistsException(long directoryId, java.lang.String childEntity, java.lang.String parentEntity)
           
 
Method Summary
 java.lang.String getChildEntity()
           
 long getDirectoryId()
           
 java.lang.String getParentEntity()
           
 
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

MembershipAlreadyExistsException

public MembershipAlreadyExistsException(long directoryId,
                                        java.lang.String childEntity,
                                        java.lang.String parentEntity)
Method Detail

getDirectoryId

public long getDirectoryId()

getChildEntity

public java.lang.String getChildEntity()

getParentEntity

public java.lang.String getParentEntity()


Copyright © 2013 Atlassian. All Rights Reserved.