org.alfresco.service.cmr.repository
Class AssociationExistsException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.alfresco.service.cmr.repository.AssociationExistsException
All Implemented Interfaces:
java.io.Serializable

public class AssociationExistsException
extends java.lang.RuntimeException

Thrown when an operation could not be performed because a named association already exists between two nodes

See Also:
Serialized Form

Constructor Summary
AssociationExistsException(java.lang.Long sourceNodeId, java.lang.Long targetNodeId, QName qname)
           
AssociationExistsException(java.lang.Long sourceNodeId, java.lang.Long targetNodeId, QName qname, java.lang.Throwable cause)
           
 
Method Summary
 QName getQName()
           
 java.lang.Long getSourceNodeId()
           
 java.lang.Long getTargetNodeId()
           
 
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

AssociationExistsException

public AssociationExistsException(java.lang.Long sourceNodeId,
                                  java.lang.Long targetNodeId,
                                  QName qname)
See Also:
#AssociationExistsException(NodeRef, NodeRef, QName, Throwable)

AssociationExistsException

public AssociationExistsException(java.lang.Long sourceNodeId,
                                  java.lang.Long targetNodeId,
                                  QName qname,
                                  java.lang.Throwable cause)
Parameters:
sourceNodeId - the source of the association
targetNodeId - the target of the association
qname - the qualified name of the association
cause - a causal exception
Method Detail

getSourceNodeId

public java.lang.Long getSourceNodeId()

getTargetNodeId

public java.lang.Long getTargetNodeId()

getQName

public QName getQName()


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.