Package org.jclouds.fallbacks
Interface PropagateIfRetryAfter
- All Known Implementing Classes:
HeaderToRetryAfterException
propagates as
RetryAfterException
if a Throwable contains information such as a retry
offset.-
Method Summary
Modifier and TypeMethodDescriptionif input is not of typeHttpResponseException
, this method propagates.
-
Method Details
-
createOrPropagate
if input is not of typeHttpResponseException
, this method propagates. Otherwise,null
, if didn't coerce toRetryAfterException
- Specified by:
createOrPropagate
in interfaceFallback<Object>
- Parameters:
t
- the exception that made the call fail.- Throws:
Exception
-