org.jclouds.cloudservers.handlers
Class ParseCloudServersErrorFromHttpResponse

java.lang.Object
  extended by org.jclouds.cloudservers.handlers.ParseCloudServersErrorFromHttpResponse
All Implemented Interfaces:
HttpErrorHandler

public class ParseCloudServersErrorFromHttpResponse
extends Object
implements HttpErrorHandler

This will parse and set an appropriate exception on the command object.

Author:
Adrian Cole

Field Summary
protected  Logger logger
           
static Pattern RESOURCE_PATTERN
           
 
Fields inherited from interface org.jclouds.http.HttpErrorHandler
NOOP
 
Constructor Summary
ParseCloudServersErrorFromHttpResponse()
           
 
Method Summary
 void handleError(HttpCommand command, HttpResponse response)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected Logger logger

RESOURCE_PATTERN

public static final Pattern RESOURCE_PATTERN
Constructor Detail

ParseCloudServersErrorFromHttpResponse

public ParseCloudServersErrorFromHttpResponse()
Method Detail

handleError

public void handleError(HttpCommand command,
                        HttpResponse response)
Specified by:
handleError in interface HttpErrorHandler


Copyright © 2009-2011 jclouds. All Rights Reserved.