Class ErrorResponseData

java.lang.Object
de.xima.fc.api.rest.impl.common.error.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 Details

    • ErrorResponseData

      public ErrorResponseData()
  • Method Details

    • getPath

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

      public ErrorResponseData setPath(String path)
      Parameters:
      path - the request path
      Returns:
      this
    • 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