Interface XmlErrorUnmarshaller
- All Known Implementing Classes:
QueryProtocolUnmarshaller
,XmlProtocolUnmarshaller
public interface XmlErrorUnmarshaller
Interface to unmarshall a AWS/QUERY or REST/XML error response.
-
Method Summary
Modifier and TypeMethodDescription<TypeT extends SdkPojo>
TypeTunmarshall
(SdkPojo sdkPojo, XmlElement resultRoot, SdkHttpFullResponse response)
-
Method Details
-
unmarshall
<TypeT extends SdkPojo> TypeT unmarshall(SdkPojo sdkPojo, XmlElement resultRoot, SdkHttpFullResponse response) - Type Parameters:
TypeT
- Type being unmarshalled.- Parameters:
sdkPojo
- Builder for exception class to unmarshall.resultRoot
- Parsed XML document of response.response
- HTTP response.- Returns:
- Unmarshalled exception
-