Package org.nuxeo.ecm.core.api
Class DocumentExistsException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.nuxeo.ecm.core.api.NuxeoException
-
- org.nuxeo.ecm.core.api.DocumentExistsException
-
- All Implemented Interfaces:
Serializable
public class DocumentExistsException extends NuxeoException
Exception thrown when a method tries to create a document that already exists through copy or move, or when trying to delete the target of a proxy.- See Also:
CoreSession.copy(org.nuxeo.ecm.core.api.DocumentRef, org.nuxeo.ecm.core.api.DocumentRef, java.lang.String, org.nuxeo.ecm.core.api.CoreSession.CopyOption...),CoreSession.move(org.nuxeo.ecm.core.api.DocumentRef, org.nuxeo.ecm.core.api.DocumentRef, java.lang.String),CoreSession.removeDocument(org.nuxeo.ecm.core.api.DocumentRef),CoreSession.removeDocuments(org.nuxeo.ecm.core.api.DocumentRef[]),CoreSession.removeChildren(org.nuxeo.ecm.core.api.DocumentRef), Serialized Form
-
-
Field Summary
-
Fields inherited from class org.nuxeo.ecm.core.api.NuxeoException
statusCode
-
-
Constructor Summary
Constructors Constructor Description DocumentExistsException()DocumentExistsException(String message)DocumentExistsException(String message, Throwable cause)DocumentExistsException(Throwable cause)
-
Method Summary
-
Methods inherited from class org.nuxeo.ecm.core.api.NuxeoException
addInfo, getInfos, getMessage, getOriginalMessage, getStatusCode
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
DocumentExistsException
public DocumentExistsException()
-
DocumentExistsException
public DocumentExistsException(String message)
-
DocumentExistsException
public DocumentExistsException(String message, Throwable cause)
-
DocumentExistsException
public DocumentExistsException(Throwable cause)
-
-