Package org.jclouds
Class Fallbacks.EmptyMapOnNotFoundOr404
java.lang.Object
org.jclouds.Fallbacks.EmptyMapOnNotFoundOr404
- Enclosing class:
Fallbacks
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe exception is provided so that theFallback
implementation can conditionally determine whether to propagate the exception or to attempt to recover.
-
Constructor Details
-
EmptyMapOnNotFoundOr404
public EmptyMapOnNotFoundOr404()
-
-
Method Details
-
createOrPropagate
public com.google.common.collect.ImmutableMap<Object,Object> createOrPropagate(Throwable t) throws Exception Description copied from interface:Fallback
The exception is provided so that theFallback
implementation can conditionally determine whether to propagate the exception or to attempt to recover.- Specified by:
createOrPropagate
in interfaceFallback<com.google.common.collect.ImmutableMap<Object,
Object>> - Parameters:
t
- the exception that made the call fail.- Throws:
Exception
-