Interface IError
- All Superinterfaces:
Serializable
Interface for errors that can be returned to the client.
- Since:
- 8.2.0
- Author:
- XIMA MEDIA GmbH
-
Method Summary
Modifier and TypeMethodDescriptionDetailed description of the error.Unique identifier of the error.Private detail of the error.intHTTP status code of the error.Title of the error.
-
Method Details
-
getErrorCode
-
getStatusCode
int getStatusCode()HTTP status code of the error.- Returns:
- HTTP status code of the error.
-
getPrivateDetail
String getPrivateDetail()Private detail of the error. This detail is not meant to be shown to the user. It is meant for debugging purposes only and should be in english.- Returns:
- Private detail of the error.
-
getTitle
-
getDetail
Detailed description of the error. This description is meant to be shown to the user. Depending on the nature of the error, this may be a detailed explanation of the error or just an error code.- Parameters:
locale- Locale for which the detail should be returned.- Returns:
- Detailed description of the error for the given locale.
-