|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jclouds.Fallbacks.FalseOnNotFoundOr404
public static final class Fallbacks.FalseOnNotFoundOr404
| Constructor Summary | |
|---|---|
Fallbacks.FalseOnNotFoundOr404()
|
|
| Method Summary | |
|---|---|
com.google.common.util.concurrent.ListenableFuture<Boolean> |
create(Throwable t)
|
Boolean |
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Fallbacks.FalseOnNotFoundOr404()
| Method Detail |
|---|
public com.google.common.util.concurrent.ListenableFuture<Boolean> create(Throwable t)
throws Exception
create in interface com.google.common.util.concurrent.FutureFallback<Boolean>Exception
public Boolean createOrPropagate(Throwable t)
throws Exception
FallbackFallback implementation can
conditionally determine whether to propagate the exception or to attempt
to recover.
createOrPropagate in interface Fallback<Boolean>t - the exception that made the call fail.
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||