Package org.jclouds.aws.handlers
Class ParseAWSErrorFromXmlContent
java.lang.Object
org.jclouds.aws.handlers.ParseAWSErrorFromXmlContent
- All Implemented Interfaces:
HttpErrorHandler
- Direct Known Subclasses:
ParseS3ErrorFromXmlContent
,ParseSQSErrorFromXmlContent
This will parse and set an appropriate exception on the command object.
- See Also:
-
Field Summary
FieldsFields inherited from interface org.jclouds.http.HttpErrorHandler
NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
handleError
(HttpCommand command, HttpResponse response) protected Exception
refineException
(HttpCommand command, HttpResponse response, Exception exception, AWSError error, String message)
-
Field Details
-
logger
-
-
Constructor Details
-
ParseAWSErrorFromXmlContent
-
-
Method Details
-
handleError
- Specified by:
handleError
in interfaceHttpErrorHandler
-
refineException
protected Exception refineException(HttpCommand command, HttpResponse response, Exception exception, AWSError error, String message)
-