public class RetryAfterException extends RuntimeException
503 status code, as specified in
 the HttpHeaders.RETRY_AFTER header.| Constructor and Description | 
|---|
RetryAfterException(String message,
                   int seconds)
Construct an exception instance to happen at a time in the future 
 | 
RetryAfterException(String message,
                   Throwable cause,
                   int seconds)
Construct an exception instance to happen at a time in the future 
 | 
RetryAfterException(Throwable cause,
                   int seconds)
Construct an exception instance to happen at a time in the future 
 | 
| Modifier and Type | Method and Description | 
|---|---|
int | 
getSeconds()
Get the value of the retry time 
 | 
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic RetryAfterException(String message, int seconds)
message - messageseconds - retry after delta. Negative values are converted to zeropublic RetryAfterException(Throwable cause, int seconds)
cause - causeseconds - retry after delta. Negative values are converted to zeroCopyright © 2009-2013 jclouds. All Rights Reserved.