Package org.jclouds.atmos.handlers
Class ParseAtmosErrorFromXmlContent
- java.lang.Object
-
- org.jclouds.atmos.handlers.ParseAtmosErrorFromXmlContent
-
- All Implemented Interfaces:
HttpErrorHandler
@Singleton public class ParseAtmosErrorFromXmlContent extends Object implements HttpErrorHandler
This will parse and set an appropriate exception on the command object.- See Also:
AtmosError
-
-
Field Summary
Fields Modifier and Type Field Description static Pattern
DIRECTORY_KEY_PATH
static Pattern
DIRECTORY_PATH
protected Logger
logger
-
Fields inherited from interface org.jclouds.http.HttpErrorHandler
NOOP
-
-
Constructor Summary
Constructors Constructor Description ParseAtmosErrorFromXmlContent(AtmosUtils utils)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
handleError(HttpCommand command, HttpResponse response)
-
-
-
Constructor Detail
-
ParseAtmosErrorFromXmlContent
@Inject public ParseAtmosErrorFromXmlContent(AtmosUtils utils)
-
-
Method Detail
-
handleError
public void handleError(HttpCommand command, HttpResponse response)
- Specified by:
handleError
in interfaceHttpErrorHandler
-
-