org.jclouds.vcloud.handlers
Class ParseVCloudErrorFromHttpResponse
java.lang.Object
org.jclouds.vcloud.handlers.ParseVCloudErrorFromHttpResponse
- All Implemented Interfaces:
- org.jclouds.http.HttpErrorHandler
@Singleton
public class ParseVCloudErrorFromHttpResponse
- extends Object
- implements org.jclouds.http.HttpErrorHandler
This will parse and set an appropriate exception on the command object.
| 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 |
logger
protected org.jclouds.logging.Logger logger
RESOURCE_PATTERN
public static final Pattern RESOURCE_PATTERN
ParseVCloudErrorFromHttpResponse
@Inject
public ParseVCloudErrorFromHttpResponse(VCloudUtils utils)
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.