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