Package org.jclouds
Class Fallbacks.EmptyIterableWithMarkerOnNotFoundOr404
- java.lang.Object
-
- org.jclouds.Fallbacks.EmptyIterableWithMarkerOnNotFoundOr404
-
- All Implemented Interfaces:
Fallback<IterableWithMarker<Object>>
- Enclosing class:
- Fallbacks
public static final class Fallbacks.EmptyIterableWithMarkerOnNotFoundOr404 extends Object implements Fallback<IterableWithMarker<Object>>
-
-
Constructor Summary
Constructors Constructor Description EmptyIterableWithMarkerOnNotFoundOr404()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IterableWithMarker<Object>createOrPropagate(Throwable t)The exception is provided so that theFallbackimplementation can conditionally determine whether to propagate the exception or to attempt to recover.
-
-
-
Method Detail
-
createOrPropagate
public IterableWithMarker<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<IterableWithMarker<Object>>- Parameters:
t- the exception that made the call fail.- Throws:
Exception
-
-