Class AssociationExistsException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.alfresco.service.cmr.repository.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
-
-
Constructor Summary
Constructors Constructor Description 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description QName
getQName()
java.lang.Long
getSourceNodeId()
java.lang.Long
getTargetNodeId()
-
-
-
Constructor Detail
-
AssociationExistsException
public AssociationExistsException(java.lang.Long sourceNodeId, java.lang.Long targetNodeId, QName qname)
-
AssociationExistsException
public AssociationExistsException(java.lang.Long sourceNodeId, java.lang.Long targetNodeId, QName qname, java.lang.Throwable cause)
- Parameters:
sourceNodeId
- the source of the associationtargetNodeId
- the target of the associationqname
- the qualified name of the associationcause
- a causal exception
-
-
Method Detail
-
getSourceNodeId
public java.lang.Long getSourceNodeId()
-
getTargetNodeId
public java.lang.Long getTargetNodeId()
-
getQName
public QName getQName()
-
-