Class DuplicateChildNodeNameException

  • All Implemented Interfaces:
    java.io.Serializable, DoNotRetryException

    public class DuplicateChildNodeNameException
    extends java.lang.RuntimeException
    implements DoNotRetryException
    Thrown when a child node cm:name property violates the data dictionary duplicate child association constraint.

    Note that this exception may be triggered by database constraints but must still NOT trigger transaction retries.

    Author:
    Derek Hulley
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      DuplicateChildNodeNameException​(org.alfresco.service.cmr.repository.NodeRef parentNodeRef, org.alfresco.service.namespace.QName assocTypeQName, java.lang.String name, java.lang.Throwable e)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.alfresco.service.namespace.QName getAssocTypeQName()  
      java.lang.String getName()  
      org.alfresco.service.cmr.repository.NodeRef getParentNodeRef()  
      • 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

      • DuplicateChildNodeNameException

        public DuplicateChildNodeNameException​(org.alfresco.service.cmr.repository.NodeRef parentNodeRef,
                                               org.alfresco.service.namespace.QName assocTypeQName,
                                               java.lang.String name,
                                               java.lang.Throwable e)
    • Method Detail

      • getParentNodeRef

        public org.alfresco.service.cmr.repository.NodeRef getParentNodeRef()
      • getAssocTypeQName

        public org.alfresco.service.namespace.QName getAssocTypeQName()
      • getName

        public java.lang.String getName()