Class NuxeoCmisErrorHelper
- java.lang.Object
-
- org.nuxeo.ecm.core.opencmis.bindings.NuxeoCmisErrorHelper
-
public class NuxeoCmisErrorHelper extends Object
Helper to deal with HTTP errors.- Since:
- 7.1
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
NuxeoCmisErrorHelper.ErrorExtractor
Interface for a helper able to extract the error from an exception.static class
NuxeoCmisErrorHelper.ErrorInfo
Info about an error to return to client code.
-
Field Summary
Fields Modifier and Type Field Description protected static NuxeoCmisErrorHelper.ErrorExtractor
errorExtractor
static String
EXTRACTOR_CLASS_PROP
-
Constructor Summary
Constructors Constructor Description NuxeoCmisErrorHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static NuxeoCmisErrorHelper.ErrorInfo
extractError(Exception ex)
-
-
-
Field Detail
-
EXTRACTOR_CLASS_PROP
public static final String EXTRACTOR_CLASS_PROP
- See Also:
- Constant Field Values
-
errorExtractor
protected static NuxeoCmisErrorHelper.ErrorExtractor errorExtractor
-
-
Method Detail
-
extractError
public static NuxeoCmisErrorHelper.ErrorInfo extractError(Exception ex)
-
-