Package org.jclouds.s3.fallbacks
Class FalseIfBucketAlreadyOwnedByYouOrOperationAbortedWhenBucketExists
- java.lang.Object
-
- org.jclouds.s3.fallbacks.FalseIfBucketAlreadyOwnedByYouOrOperationAbortedWhenBucketExists
-
- All Implemented Interfaces:
Fallback<Boolean>,InvocationContext<FalseIfBucketAlreadyOwnedByYouOrOperationAbortedWhenBucketExists>
public class FalseIfBucketAlreadyOwnedByYouOrOperationAbortedWhenBucketExists extends Object implements Fallback<Boolean>, InvocationContext<FalseIfBucketAlreadyOwnedByYouOrOperationAbortedWhenBucketExists>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleancreateOrPropagate(Throwable t)The exception is provided so that theFallbackimplementation can conditionally determine whether to propagate the exception or to attempt to recover.FalseIfBucketAlreadyOwnedByYouOrOperationAbortedWhenBucketExistssetContext(HttpRequest request)
-
-
-
Method Detail
-
createOrPropagate
public Boolean 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<Boolean>- Parameters:
t- the exception that made the call fail.- Throws:
Exception
-
setContext
public FalseIfBucketAlreadyOwnedByYouOrOperationAbortedWhenBucketExists setContext(@Nullable HttpRequest request)
- Specified by:
setContextin interfaceInvocationContext<FalseIfBucketAlreadyOwnedByYouOrOperationAbortedWhenBucketExists>
-
-