Class ErrorDescription

java.lang.Object
com.targomo.client.api.response.esri.ErrorDescription

public class ErrorDescription extends Object
The POJO for an error message reponse sent from an ESRI service (see GeocodingResponse and AuthenticationResponse)
  • Constructor Details

    • ErrorDescription

      public ErrorDescription(Integer code, String error, String errorDescription, String message, List<String> details)
      private - not used since this is a POJO only created from a json String
  • Method Details

    • getCode

      public Integer getCode()
      Returns:
      the ESRI error code (not the http status code of the response)
    • getMessage

      public String getMessage()
      Returns:
      the error message
    • getError

      public String getError()
      Returns:
      the error name
    • getErrorDescription

      public String getErrorDescription()
      Returns:
      the error description as String
    • getDetails

      public List<String> getDetails()
      Returns:
      the error details