public static final class Fallbacks.EmptyPagedIterableOnNotFoundOr404 extends Object implements Fallback<PagedIterable<Object>>
| Constructor and Description | 
|---|
Fallbacks.EmptyPagedIterableOnNotFoundOr404()  | 
| Modifier and Type | Method and Description | 
|---|---|
com.google.common.util.concurrent.ListenableFuture<PagedIterable<Object>> | 
create(Throwable t)  | 
PagedIterable<Object> | 
createOrPropagate(Throwable t)
The exception is provided so that the  
Fallback implementation can
 conditionally determine whether to propagate the exception or to attempt
 to recover. | 
public Fallbacks.EmptyPagedIterableOnNotFoundOr404()
public com.google.common.util.concurrent.ListenableFuture<PagedIterable<Object>> create(Throwable t) throws Exception
create in interface com.google.common.util.concurrent.FutureFallback<PagedIterable<Object>>Exceptionpublic PagedIterable<Object> createOrPropagate(Throwable t) throws Exception
FallbackFallback implementation can
 conditionally determine whether to propagate the exception or to attempt
 to recover.createOrPropagate in interface Fallback<PagedIterable<Object>>t - the exception that made the call fail.ExceptionCopyright © 2009-2013 jclouds. All Rights Reserved.