public class ApiErrorResponseResource extends ErrorResponseResource
| Constructor and Description |
|---|
ApiErrorResponseResource() |
ApiErrorResponseResource(ApiException apiException) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getApiErrorCode()
Getter for error code.
|
java.lang.String |
getApiErrorReason()
Getter for reason.
|
void |
setApiErrorCode(java.lang.String apiErrorCode)
Setter for error code.
|
void |
setApiErrorReason(java.lang.String apiErrorReason)
Setter for reason.
|
getContentType, getErrorMessage, getMethod, getQuery, getStatusCode, getStatusMessage, getThrowable, getUri, setContentType, setErrorMessage, setMethod, setQuery, setStatusCode, setStatusMessage, setUri, toStringpublic ApiErrorResponseResource()
public ApiErrorResponseResource(ApiException apiException)
public java.lang.String getApiErrorCode()
public void setApiErrorCode(java.lang.String apiErrorCode)
apiErrorCode - the error codepublic java.lang.String getApiErrorReason()
public void setApiErrorReason(java.lang.String apiErrorReason)
apiErrorReason - the reason