Class ErrorResponseData


  • public class ErrorResponseData
    extends Object
    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 Detail

      • ErrorResponseData

        public ErrorResponseData()
    • Method Detail

      • getPath

        public String getPath()
        Returns:
        the request path
      • getErrorCode

        public String getErrorCode()
        Returns:
        technical error code
      • setErrorCode

        public ErrorResponseData setErrorCode​(String errorCode)
        Parameters:
        errorCode - technical error code
        Returns:
        this
      • getErrorMessage

        public String getErrorMessage()
        Returns:
        the (usually localized) detailed error message for the end user
      • setErrorMessage

        public ErrorResponseData setErrorMessage​(String errorMessage)
        Parameters:
        errorMessage - the (usually localized) detailed error message for the end user
        Returns:
        this