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