Class FileExistsException

  • All Implemented Interfaces:
    java.io.Serializable

    @AlfrescoPublicApi
    public class FileExistsException
    extends org.alfresco.error.AlfrescoRuntimeException
    Common exception thrown when an operation fails because of a name clash.
    Author:
    Derek Hulley
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      FileExistsException​(org.alfresco.service.cmr.repository.NodeRef parentNodeRef, java.lang.String name)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getName()  
      org.alfresco.service.cmr.repository.NodeRef getParentNodeRef()  
      • Methods inherited from class org.alfresco.error.AlfrescoRuntimeException

        create, create, getMsgId, getMsgParams, getNumericalId, getRootCause, makeRuntimeException
      • 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

      • FileExistsException

        public FileExistsException​(org.alfresco.service.cmr.repository.NodeRef parentNodeRef,
                                   java.lang.String name)
    • Method Detail

      • getParentNodeRef

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

        public java.lang.String getName()