public class AwsJsonErrorMessageParser extends Object implements ErrorMessageParser
Constructor and Description |
---|
AwsJsonErrorMessageParser(SdkJsonErrorMessageParser errorMessageJsonLocations) |
Modifier and Type | Method and Description |
---|---|
String |
parseErrorMessage(HttpResponse httpResponse,
com.fasterxml.jackson.databind.JsonNode jsonNode)
Parse the error message from the response.
|
public AwsJsonErrorMessageParser(SdkJsonErrorMessageParser errorMessageJsonLocations)
errorMessageJsonLocations
- JSON field locations where the parser will attempt to
extract the error message from.public String parseErrorMessage(HttpResponse httpResponse, com.fasterxml.jackson.databind.JsonNode jsonNode)
parseErrorMessage
in interface ErrorMessageParser
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.