org.jclouds.rest.functions
Class MapHttp4xxCodesToExceptions

java.lang.Object
  extended by org.jclouds.rest.functions.MapHttp4xxCodesToExceptions
All Implemented Interfaces:
com.google.common.base.Function<Exception,Object>

@Singleton
public class MapHttp4xxCodesToExceptions
extends Object
implements com.google.common.base.Function<Exception,Object>

Author:
Adrian Cole

Constructor Summary
protected MapHttp4xxCodesToExceptions(PropagateIfRetryAfter propagateIfRetryAfter)
           
 
Method Summary
 Object apply(Exception from)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.google.common.base.Function
equals
 

Constructor Detail

MapHttp4xxCodesToExceptions

@Inject
protected MapHttp4xxCodesToExceptions(PropagateIfRetryAfter propagateIfRetryAfter)
Method Detail

apply

public Object apply(Exception from)
Specified by:
apply in interface com.google.common.base.Function<Exception,Object>


Copyright © 2009-2013 jclouds. All Rights Reserved.