Class JsonErrorCodeParser

java.lang.Object
com.amazonaws.internal.http.JsonErrorCodeParser

public class JsonErrorCodeParser extends Object
  • Constructor Details

    • JsonErrorCodeParser

      public JsonErrorCodeParser()
    • JsonErrorCodeParser

      public JsonErrorCodeParser(String errorCodeFieldName)
  • Method Details

    • parseErrorCode

      public String parseErrorCode(Map<String,String> httpHeaders, com.fasterxml.jackson.databind.JsonNode jsonContents)
      Parse the error code from the response.
      Returns:
      Error Code of exceptional response or null if it can't be determined