public final class AwsJsonErrorMessageParser extends Object implements ErrorMessageParser
| Modifier and Type | Field and Description | 
|---|---|
static ErrorMessageParser | 
DEFAULT_ERROR_MESSAGE_PARSER  | 
| Constructor and Description | 
|---|
AwsJsonErrorMessageParser(SdkJsonErrorMessageParser errorMessageJsonLocations)  | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
parseErrorMessage(SdkHttpFullResponse httpResponse,
                 SdkJsonNode jsonNode)
Parse the error message from the response. 
 | 
public static final ErrorMessageParser DEFAULT_ERROR_MESSAGE_PARSER
public AwsJsonErrorMessageParser(SdkJsonErrorMessageParser errorMessageJsonLocations)
errorMessageJsonLocations - JSON field locations where the parser will attempt to
 extract the error message from.public String parseErrorMessage(SdkHttpFullResponse httpResponse, SdkJsonNode jsonNode)
parseErrorMessage in interface ErrorMessageParserCopyright © 2020. All rights reserved.