org.jclouds.vcloud.handlers
Class ParseVCloudErrorFromHttpResponse
java.lang.Object
org.jclouds.vcloud.handlers.ParseVCloudErrorFromHttpResponse
- All Implemented Interfaces:
- HttpErrorHandler
@Singleton
public class ParseVCloudErrorFromHttpResponse
- extends Object
- implements HttpErrorHandler
This will parse and set an appropriate exception on the command object.
- Author:
- Adrian Cole
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected Logger logger
RESOURCE_PATTERN
public static final Pattern RESOURCE_PATTERN
ParseVCloudErrorFromHttpResponse
@Inject
public ParseVCloudErrorFromHttpResponse(VCloudUtils utils)
handleError
public void handleError(HttpCommand command,
HttpResponse response)
- Specified by:
handleError
in interface HttpErrorHandler
Copyright © 2009-2011 jclouds. All Rights Reserved.