NXP-16012 introduced the mapping of CMIS recoverable errors to specific HTTP codes.
We need this to be overridable by a customer, to provide application-specific error codes when needed.
Now if org.nuxeo.cmis.errorextractor is defined, it can be the name of a class implementing org.nuxeo.ecm.core.opencmis.bindings.NuxeoCmisErrorHelper.ErrorExtractor and its extractError method can decide what to do. The default if nothing is defined is org.nuxeo.ecm.core.opencmis.bindings.DefaultErrorExtractor which implements the previous behavior.
- depends on
-
NXP-16012 Allow RecoverableClientException to be managed by CMIS
- Resolved