ErrorCodeParser
public class JsonErrorCodeParser extends Object implements ErrorCodeParser
Constructor | Description |
---|---|
JsonErrorCodeParser() |
|
JsonErrorCodeParser(String errorCodeFieldName) |
Modifier and Type | Method | Description |
---|---|---|
String |
parseErrorCode(HttpResponse response,
JsonContent jsonContent) |
Parse the error code from the response.
|
public JsonErrorCodeParser()
public JsonErrorCodeParser(String errorCodeFieldName)
public String parseErrorCode(HttpResponse response, JsonContent jsonContent)
parseErrorCode
in interface ErrorCodeParser
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.