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