public class NuxeoClientRemoteException extends NuxeoClientException
| Modifier and Type | Field and Description |
|---|---|
protected String |
errorBody |
protected String |
exceptionClassName
Deprecated.
on Nuxeo server since LTS 2017 - 9.10
|
protected int |
status |
| Constructor and Description |
|---|
NuxeoClientRemoteException(int status,
String message,
String errorBody,
Throwable cause)
Constructor to instantiate a remote errorBody with a HTTP status code, message, a stacktrace and an error body.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getErrorBody() |
String |
getExceptionClassName()
Deprecated.
on Nuxeo server since LTS 2017 - 9.10
|
int |
getStatus() |
String |
toString() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace@Deprecated protected final String exceptionClassName
code which is the exception class name happened on server.
Since Nuxeo LTS 2017 - 9.10, this property is absent from error response. Needed exception/error information are
now status code and message.protected final int status
protected final String errorBody
public NuxeoClientRemoteException(int status,
String message,
String errorBody,
Throwable cause)
@Deprecated public String getExceptionClassName()
exceptionClassNamepublic int getStatus()
public String getErrorBody()
Copyright © 2018 Nuxeo. All rights reserved.