Class ErrorResponseData
java.lang.Object
de.xima.fc.api.rest.impl.common.error.ErrorResponseData
Bean that wraps some basic error information to be delivered as error response by the REST API.
- Since:
- 8.4.0
- Author:
- XIMA MEDIA GmbH
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetPath()setErrorCode(String errorCode) setErrorMessage(String errorMessage)
-
Constructor Details
-
ErrorResponseData
public ErrorResponseData()
-
-
Method Details
-
getPath
- Returns:
- the request path
-
setPath
- Parameters:
path- the request path- Returns:
- this
-
getErrorCode
- Returns:
- technical error code
-
setErrorCode
- Parameters:
errorCode- technical error code- Returns:
- this
-
getErrorMessage
- Returns:
- the (usually localized) detailed error message for the end user
-
setErrorMessage
- Parameters:
errorMessage- the (usually localized) detailed error message for the end user- Returns:
- this
-