org.jclouds.softlayer.handlers
Class SoftLayerErrorHandler

java.lang.Object
  extended by org.jclouds.softlayer.handlers.SoftLayerErrorHandler
All Implemented Interfaces:
org.jclouds.http.HttpErrorHandler

@Singleton
public class SoftLayerErrorHandler
extends Object
implements org.jclouds.http.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
SoftLayerErrorHandler()
           
 
Method Summary
 void handleError(org.jclouds.http.HttpCommand command, org.jclouds.http.HttpResponse response)
           
 String parseMessage(org.jclouds.http.HttpResponse response)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SoftLayerErrorHandler

public SoftLayerErrorHandler()
Method Detail

handleError

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

parseMessage

public String parseMessage(org.jclouds.http.HttpResponse response)


Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.