org.jclouds.digitalocean.handlers
Class DigitalOceanErrorHandler
java.lang.Object
org.jclouds.digitalocean.handlers.DigitalOceanErrorHandler
- All Implemented Interfaces:
- org.jclouds.http.HttpErrorHandler
@Singleton
public class DigitalOceanErrorHandler
- extends Object
- implements org.jclouds.http.HttpErrorHandler
Parse the errors in the response and propagate an appropriate exception.
- See Also:
ResponseStatusFromPayloadHttpCommandExecutorService
| Fields inherited from interface org.jclouds.http.HttpErrorHandler |
NOOP |
|
Method Summary |
void |
handleError(org.jclouds.http.HttpCommand command,
org.jclouds.http.HttpResponse response)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DigitalOceanErrorHandler
public DigitalOceanErrorHandler()
handleError
public void handleError(org.jclouds.http.HttpCommand command,
org.jclouds.http.HttpResponse response)
- Specified by:
handleError in interface org.jclouds.http.HttpErrorHandler
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.