Class AssociationExistsException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.alfresco.service.cmr.repository.AssociationExistsException
-
- All Implemented Interfaces:
Serializable
@AlfrescoPublicApi public class AssociationExistsException extends 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(Long sourceNodeId, Long targetNodeId, QName qname)
AssociationExistsException(Long sourceNodeId, Long targetNodeId, QName qname, Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description QName
getQName()
Long
getSourceNodeId()
Long
getTargetNodeId()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
AssociationExistsException
public AssociationExistsException(Long sourceNodeId, Long targetNodeId, QName qname)
-
AssociationExistsException
public AssociationExistsException(Long sourceNodeId, Long targetNodeId, QName qname, Throwable cause)
- Parameters:
sourceNodeId
- the source of the associationtargetNodeId
- the target of the associationqname
- the qualified name of the associationcause
- a causal exception
-
-