public class SdkJsonErrorMessageParser extends Object implements ErrorMessageParser
Modifier and Type | Field and Description |
---|---|
static SdkJsonErrorMessageParser |
DEFAULT_ERROR_MESSAGE_PARSER
Standard JSON Error Message Parser that checks for JSON fields in this order: 'message',
'Message', 'errorMessage'
|
Modifier and Type | Method and Description |
---|---|
String |
parseErrorMessage(HttpResponse httpResponse,
com.fasterxml.jackson.databind.JsonNode jsonNode)
Parse the error message from the response.
|
public static final SdkJsonErrorMessageParser DEFAULT_ERROR_MESSAGE_PARSER
public String parseErrorMessage(HttpResponse httpResponse, com.fasterxml.jackson.databind.JsonNode jsonNode)
parseErrorMessage
in interface ErrorMessageParser
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.