Class AssociationExistsException

  • All Implemented Interfaces:
    java.io.Serializable

    @AlfrescoPublicApi
    public class AssociationExistsException
    extends java.lang.RuntimeException
    Thrown when an operation could not be performed because a named association already exists between two nodes
    Author:
    Derek Hulley
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      QName getQName()  
      java.lang.Long getSourceNodeId()  
      java.lang.Long getTargetNodeId()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, 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,
                                          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()