18.01.2015 Views

Content Management Interoperability Services (CMIS) Version 1.1

Content Management Interoperability Services (CMIS) Version 1.1

Content Management Interoperability Services (CMIS) Version 1.1

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

2.2.1.4 Exceptions<br />

The following sections list the complete set of exceptions that MAY be returned by a repository in response<br />

to a <strong>CMIS</strong> service method call.<br />

2.2.1.4.1 General Exceptions<br />

The following exceptions MAY be returned by a repository in response to ANY <strong>CMIS</strong> service method call.<br />

The "Cause" field indicates the circumstances under which a repository SHOULD return a particular exception.<br />

invalidArgument<br />

Cause: One or more of the input parameters to the service method is missing or invalid.<br />

notSupported<br />

Cause: The service method invoked requires an optional capability not supported by the repository.<br />

objectNotFound<br />

Cause: The service call has specified an object, an object-type or a repository that does not exist.<br />

permissionDenied<br />

Cause: The caller of the service method does not have sufficient permissions to perform the operation.<br />

runtime<br />

Cause: Any other cause not expressible by another <strong>CMIS</strong> exception.<br />

2.2.1.4.2 Specific Exceptions<br />

The following exceptions MAY be returned by a repositiory in response to one or more <strong>CMIS</strong> service methods<br />

calls.<br />

For each exception, the general intent is listed.<br />

constraint<br />

Intent: The operation violates a repository- or object-level constraint defined in the <strong>CMIS</strong> domain<br />

model.<br />

contentAlreadyExists<br />

Intent: The operation attempts to set the content stream for a document that already has a content<br />

stream without explicitly specifying the "overwriteFlag" parameter.<br />

filterNotValid<br />

Intent: The property filter or rendition filter input to the operation is not valid. The repository SHOULD<br />

NOT throw this expection if the filter syntax is correct but one or more elements in the filter is unknown.<br />

Unknown elements SHOULD be ignored.<br />

nameConstraintViolation<br />

Intent: The repository is not able to store the object that the user is creating/updating due to a name<br />

constraint violation.<br />

storage<br />

Intent: The repository is not able to store the object that the user is creating/updating due to an internal<br />

storage problem.<br />

streamNotSupported<br />

Intent: The operation is attempting to get or set a content stream for a document whose object-type<br />

specifies that a content stream is not allowed for document's of that type.<br />

updateConflict<br />

Intent: The operation is attempting to update an object that is no longer current (as determined by the<br />

repository). See also section 2.2.1.3 Change Tokens.<br />

<strong>CMIS</strong>-v<strong>1.1</strong>-csprd01<br />

Standards Track Work Product<br />

Copyright © OASIS Open 2012. All Rights Reserved.<br />

18 August 2012<br />

Page 132 of 331

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!