Class SdkJsonErrorMessageParser
java.lang.Object
software.amazon.awssdk.protocols.json.internal.unmarshall.SdkJsonErrorMessageParser
- All Implemented Interfaces:
ErrorMessageParser
-
Field Summary
Modifier and TypeFieldDescriptionstatic final SdkJsonErrorMessageParser
Standard JSON Error Message Parser that checks for JSON fields in this order: 'message', 'Message', 'errorMessage' -
Method Summary
Modifier and TypeMethodDescriptionparseErrorMessage
(SdkHttpFullResponse httpResponse, JsonNode jsonNode) Parse the error message from the response.
-
Field Details
-
DEFAULT_ERROR_MESSAGE_PARSER
Standard JSON Error Message Parser that checks for JSON fields in this order: 'message', 'Message', 'errorMessage'
-
-
Method Details
-
parseErrorMessage
Parse the error message from the response.- Specified by:
parseErrorMessage
in interfaceErrorMessageParser
- Returns:
- Error Code of exceptional response or null if it can't be determined
-