Package org.jclouds
Class Fallbacks.EmptyPagedIterableOnNotFoundOr404
java.lang.Object
org.jclouds.Fallbacks.EmptyPagedIterableOnNotFoundOr404
- All Implemented Interfaces:
Fallback<PagedIterable<Object>>
- Enclosing class:
Fallbacks
public static final class Fallbacks.EmptyPagedIterableOnNotFoundOr404
extends Object
implements Fallback<PagedIterable<Object>>
-
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
-
EmptyPagedIterableOnNotFoundOr404
public EmptyPagedIterableOnNotFoundOr404()
-
-
Method Details
-
createOrPropagate
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<PagedIterable<Object>>
- Parameters:
t
- the exception that made the call fail.- Throws:
Exception
-