Class ContentExistsException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.alfresco.error.AlfrescoRuntimeException
org.alfresco.repo.content.ContentExistsException
All Implemented Interfaces:
Serializable

public class ContentExistsException extends org.alfresco.error.AlfrescoRuntimeException
Exception produced when a request is made to write content to a location already in use, either by content being written or previously written.
Since:
2.1
Author:
Derek Hulley
See Also:
  • Constructor Details

    • ContentExistsException

      public ContentExistsException(ContentStore contentStore, String contentUrl)
      Parameters:
      contentStore - the originating content store
      contentUrl - the offending content URL
    • ContentExistsException

      public ContentExistsException(ContentStore contentStore, String contentUrl, String msg)
      Parameters:
      contentStore - the originating content store
      contentUrl - the offending content URL
  • Method Details

    • getContentStore

      public ContentStore getContentStore()
    • getContentUrl

      public String getContentUrl()