public class NuxeoCmisErrorHelper extends Object
Modifier and Type | Class and Description |
---|---|
static class |
NuxeoCmisErrorHelper.ErrorInfo
Info about an error to return to client code.
|
Constructor and Description |
---|
NuxeoCmisErrorHelper() |
Modifier and Type | Method and Description |
---|---|
static NuxeoCmisErrorHelper.ErrorInfo |
extractError(Exception ex)
Extracts the error from the exception.
|
static int |
getErrorCode(org.apache.chemistry.opencmis.commons.exceptions.CmisBaseException ex) |
static int |
getHttpStatus(RecoverableClientException ex) |
public static NuxeoCmisErrorHelper.ErrorInfo extractError(Exception ex)
ex
- the exceptionpublic static int getHttpStatus(RecoverableClientException ex)
public static int getErrorCode(org.apache.chemistry.opencmis.commons.exceptions.CmisBaseException ex)
Copyright © 2015 Nuxeo SA. All rights reserved.