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