public class DefaultErrorExtractor extends Object implements NuxeoCmisErrorHelper.ErrorExtractor
Constructor and Description |
---|
DefaultErrorExtractor() |
Modifier and Type | Method and Description |
---|---|
NuxeoCmisErrorHelper.ErrorInfo |
extractError(Exception ex)
Extracts the error from the exception.
|
int |
getErrorCode(org.apache.chemistry.opencmis.commons.exceptions.CmisBaseException ex) |
int |
getHttpStatus(RecoverableClientException ex) |
public DefaultErrorExtractor()
public NuxeoCmisErrorHelper.ErrorInfo extractError(Exception ex)
NuxeoCmisErrorHelper.ErrorExtractor
extractError
in interface NuxeoCmisErrorHelper.ErrorExtractor
ex
- the exceptionpublic int getHttpStatus(RecoverableClientException ex)
public int getErrorCode(org.apache.chemistry.opencmis.commons.exceptions.CmisBaseException ex)
Copyright © 2018 Nuxeo. All rights reserved.