cannot be served.
| Modifier and Type | Field and Description |
|---|---|
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | ServiceUnavailableException()
Construct a new "service unavailable" exception without any "Retry-After" information specified for the failed request. |
| public | ServiceUnavailableException(String
the detail message (which is saved for later retrieval
by the message)getMessage() method).Construct a new "service unavailable" exception without any "Retry-After" information specified for the failed request. |
| public | ServiceUnavailableException(Long
decimal interval in seconds after which the failed request may be retried. retryAfter)Construct a new "service unavailable" exception with an interval specifying the "Retry-After" information for the failed request. |
| public | ServiceUnavailableException(String
the detail message (which is saved for later retrieval
by the message, Long getMessage() method).decimal interval in seconds after which the failed request may be retried. retryAfter)Construct a new "service unavailable" exception with an interval specifying the "Retry-After" information for the failed request. |
| public | ServiceUnavailableException(Date
a date/time after which the failed request may be retried. retryAfter)Construct a new "service unavailable" exception with an interval specifying the "Retry-After" information for the failed request. |
| public | ServiceUnavailableException(String
the detail message (which is saved for later retrieval
by the message, Date getMessage() method).a date/time after which the failed request may be retried. retryAfter)Construct a new "service unavailable" exception with an interval specifying the "Retry-After" information for the failed request. |
| public | ServiceUnavailableException(Response
error response. response)Construct a new "service unavailable" exception. |
| public | ServiceUnavailableException(String
the detail message (which is saved for later retrieval
by the message, Response getMessage() method).error response. response)Construct a new "service unavailable" exception. |
| public | ServiceUnavailableException(Date
a date/time after which the failed request may be retried. retryAfter, Throwable the underlying cause of the exception. cause)Construct a new "service unavailable" exception with a date specifying the "Retry-After" information for the failed request and an underlying request failure cause. |
| public | ServiceUnavailableException(String
the detail message (which is saved for later retrieval
by the message, Date getMessage() method).a date/time after which the failed request may be retried. retryAfter, Throwable the underlying cause of the exception. cause)Construct a new "service unavailable" exception with a date specifying the "Retry-After" information for the failed request and an underlying request failure cause. |
| public | ServiceUnavailableException(Long
decimal interval in seconds after which the failed request may be retried. retryAfter, Throwable the underlying cause of the exception. cause)Construct a new "service unavailable" exception with an interval specifying the "Retry-After" information for the failed request and an underlying request failure cause. |
| public | ServiceUnavailableException(String
the detail message (which is saved for later retrieval
by the message, Long getMessage() method).decimal interval in seconds after which the failed request may be retried. retryAfter, Throwable the underlying cause of the exception. cause)Construct a new "service unavailable" exception with an interval specifying the "Retry-After" information for the failed request and an underlying request failure cause. |
| public | ServiceUnavailableException(Response
error response. response, Throwable the underlying cause of the exception. cause)Construct a new "service unavailable" exception. |
| public | ServiceUnavailableException(String
the detail message (which is saved for later retrieval
by the message, Response getMessage() method).error response. response, Throwable the underlying cause of the exception. cause)Construct a new "service unavailable" exception. |
| Modifier and Type | Method and Description |
|---|---|
| public Date | Returns: time when the request may be retried ornull if there is no retry
information available.time of sending the original request that may be used to compute
the retry time (in case the retry time information specified as
a decimal interval in seconds). requestTime)Get the retry time for the failed request. |
| public boolean | Returns: true in case the retry time is specified in the underlying
response, false otherwise.Check if the underlying response contains the information on when is it
possible to |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| ServiceUnavailableException | back to summary |
|---|---|
| public ServiceUnavailableException() Construct a new "service unavailable" exception without any "Retry-After" information specified for the failed request. | |
| ServiceUnavailableException | back to summary |
|---|---|
| public ServiceUnavailableException(String message) Construct a new "service unavailable" exception without any "Retry-After" information specified for the failed request.
| |
| ServiceUnavailableException | back to summary |
|---|---|
| public ServiceUnavailableException(Long retryAfter) Construct a new "service unavailable" exception with an interval specifying the "Retry-After" information for the failed request.
| |
| ServiceUnavailableException | back to summary |
|---|---|
| public ServiceUnavailableException(String message, Long retryAfter) Construct a new "service unavailable" exception with an interval specifying the "Retry-After" information for the failed request.
| |
| ServiceUnavailableException | back to summary |
|---|---|
| public ServiceUnavailableException(Date retryAfter) Construct a new "service unavailable" exception with an interval specifying the "Retry-After" information for the failed request.
| |
| ServiceUnavailableException | back to summary |
|---|---|
| public ServiceUnavailableException(String message, Date retryAfter) Construct a new "service unavailable" exception with an interval specifying the "Retry-After" information for the failed request.
| |
| ServiceUnavailableException | back to summary |
|---|---|
| public ServiceUnavailableException(Response response) Construct a new "service unavailable" exception.
| |
| ServiceUnavailableException | back to summary |
|---|---|
| public ServiceUnavailableException(String message, Response response) Construct a new "service unavailable" exception.
| |
| ServiceUnavailableException | back to summary |
|---|---|
| public ServiceUnavailableException(Date retryAfter, Throwable cause) Construct a new "service unavailable" exception with a date specifying the "Retry-After" information for the failed request and an underlying request failure cause. | |
| ServiceUnavailableException | back to summary |
|---|---|
| public ServiceUnavailableException(String message, Date retryAfter, Throwable cause) Construct a new "service unavailable" exception with a date specifying the "Retry-After" information for the failed request and an underlying request failure cause.
| |
| ServiceUnavailableException | back to summary |
|---|---|
| public ServiceUnavailableException(Long retryAfter, Throwable cause) Construct a new "service unavailable" exception with an interval specifying the "Retry-After" information for the failed request and an underlying request failure cause. | |
| ServiceUnavailableException | back to summary |
|---|---|
| public ServiceUnavailableException(String message, Long retryAfter, Throwable cause) Construct a new "service unavailable" exception with an interval specifying the "Retry-After" information for the failed request and an underlying request failure cause.
| |
| ServiceUnavailableException | back to summary |
|---|---|
| public ServiceUnavailableException(Response response, Throwable cause) Construct a new "service unavailable" exception.
| |
| ServiceUnavailableException | back to summary |
|---|---|
| public ServiceUnavailableException(String message, Response response, Throwable cause) Construct a new "service unavailable" exception.
| |
| getRetryTime | back to summary |
|---|---|
| public Date getRetryTime(final Date requestTime) Get the retry time for the failed request.
| |
| hasRetryAfter | back to summary |
|---|---|
| public boolean hasRetryAfter() Check if the underlying response contains the information on when is it
possible to
| |