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(NodeRef sourceRef, NodeRef targetRef, QName qname)
           
AssociationExistsException(NodeRef sourceRef, NodeRef targetRef, QName qname, java.lang.Throwable cause)
           
 
Method Summary
 QName getQName()
           
 NodeRef getSourceRef()
           
 NodeRef getTargetRef()
           
 
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(NodeRef sourceRef,
                                  NodeRef targetRef,
                                  QName qname)
See Also:
AssociationExistsException.AssociationExistsException(NodeRef, NodeRef, QName, Throwable)

AssociationExistsException

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

getSourceRef

public NodeRef getSourceRef()

getTargetRef

public NodeRef getTargetRef()

getQName

public QName getQName()


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