CMIS 1.0 CMIS 1.1 Spec 188.8.131.52
Exceptions are divided into three groups: general exceptions, specific exceptions, and implementation exceptions.
General exceptions and specific exceptions are defined in the CMIS specification. Implementation exceptions are exceptions introduced by OpenCMIS and PortCMIS. Those exceptions handle connection and authentication problems.
General exceptions may be returned by a repository in response to any CMIS service method call.
One or more of the input parameters is missing or invalid.
The CMIS operation is not supported by the repository.
The object, or object type, or repository does not exist or the current user has no permission to see it.
The user does not have sufficient permissions to perform the operation.
Any other cause not expressible by another CMIS exception.
The following exceptions may be returned by a repository in response to one or more CMIS service methods calls.
The operation violates a repository- or object-level constraint defined in the CMIS domain model.
The operation attempts to set the content stream for a document that already has a content stream without explicitly specifying the “overwriteFlag” parameter.
The property filter or rendition filter input to the operation is not valid.
The repository is not able to store the object that the user is creating/updating due to a name constraint violation. There could already be an object with the same name or the name contains a character that is not allowed.
The repository is not able to store the object that the user is creating/updating due to an internal storage problem.
The operation is attempting to get or set a content stream for a document whose object type specifies that a content stream is not allowed for documents of that type.
The operation is attempting to update an object that is no longer current (as determined by the repository).
The operation is attempting to perform an action on a non-current version of a document that cannot be performed on a non-current version.
The OpenCMIS and PortCMIS exceptions are all derived from the CMIS base exception. If you want handle all CMIS exceptions at once, catch the
The client could not connect to the repository for some reason. Check if you need to configure a proxy server.
User authentication failed.
Proxy authentication failed.
The server reported that the CMIS service is currently not available.