@Singleton public class ParseAWSErrorFromXmlContent extends Object implements HttpErrorHandler
AWSError
Modifier and Type | Field and Description |
---|---|
protected Logger |
logger |
NOOP
Constructor and Description |
---|
ParseAWSErrorFromXmlContent(AWSUtils utils) |
Modifier and Type | Method and Description |
---|---|
void |
handleError(HttpCommand command,
HttpResponse response) |
protected Exception |
refineException(HttpCommand command,
HttpResponse response,
Exception exception,
AWSError error,
String message) |
protected Logger logger
@Inject public ParseAWSErrorFromXmlContent(AWSUtils utils)
public void handleError(HttpCommand command, HttpResponse response)
handleError
in interface HttpErrorHandler
protected Exception refineException(HttpCommand command, HttpResponse response, Exception exception, AWSError error, String message)
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.