Package org.jclouds.softlayer.handlers
Class SoftLayerErrorHandler
- java.lang.Object
-
- org.jclouds.softlayer.handlers.SoftLayerErrorHandler
-
- All Implemented Interfaces:
HttpErrorHandler
@Singleton public class SoftLayerErrorHandler extends Object implements HttpErrorHandler
This will parse and set an appropriate exception on the command object.
-
-
Field Summary
-
Fields inherited from interface org.jclouds.http.HttpErrorHandler
NOOP
-
-
Constructor Summary
Constructors Constructor Description SoftLayerErrorHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
handleError(HttpCommand command, HttpResponse response)
String
parseMessage(HttpResponse response)
-
-
-
Method Detail
-
handleError
public void handleError(HttpCommand command, HttpResponse response)
- Specified by:
handleError
in interfaceHttpErrorHandler
-
parseMessage
public String parseMessage(HttpResponse response)
-
-