- All Implemented Interfaces:
- com.amazonaws.http.HttpResponseHandler<com.amazonaws.AmazonServiceException>
public class S3ErrorResponseHandler
extends java.lang.Object
implements com.amazonaws.http.HttpResponseHandler<com.amazonaws.AmazonServiceException>
Response handler for S3 error responses. S3 error responses are different
from other AWS error responses in a few ways. Most error responses will
contain an XML body, but not all (ex: error responses to HEAD requests will
not), so this error handler has to account for that. The actual XML error
response body is slightly different than other services like SimpleDB or EC2
and some information isn't explicitly represented in the XML error response
body (ex: error type/fault information) so it has to be inferred from other
parts of the error response.