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(final 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(final 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(final String
the detail message (which is saved for later retrieval by the message, final 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(final 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(final String
the detail message (which is saved for later retrieval by the message, final 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(final Response
error response. response)Construct a new "service unavailable" exception. |
| public | ServiceUnavailableException(final String
the detail message (which is saved for later retrieval by the message, final Response getMessage() method).error response. response)Construct a new "service unavailable" exception. |
| public | ServiceUnavailableException(final Date
a date/time after which the failed request may be retried. retryAfter, final 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(final String
the detail message (which is saved for later retrieval by the message, final Date getMessage() method).a date/time after which the failed request may be retried. retryAfter, final 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(final Long
decimal interval in seconds after which the failed request may be retried. retryAfter, final 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(final String
the detail message (which is saved for later retrieval by the message, final Long getMessage() method).decimal interval in seconds after which the failed request may be retried. retryAfter, final 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(final Response
error response. response, final Throwable the underlying cause of the exception. cause)Construct a new "service unavailable" exception. |
| public | ServiceUnavailableException(final String
the detail message (which is saved for later retrieval by the message, final Response getMessage() method).error response. response, final 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(final String message) Construct a new "service unavailable" exception without any "Retry-After" information specified for the failed request.
| |
| ServiceUnavailableException | back to summary |
|---|---|
| public ServiceUnavailableException(final 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(final String message, final 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(final 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(final String message, final 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(final Response response) Construct a new "service unavailable" exception.
| |
| ServiceUnavailableException | back to summary |
|---|---|
| public ServiceUnavailableException(final String message, final Response response) Construct a new "service unavailable" exception.
| |
| ServiceUnavailableException | back to summary |
|---|---|
| public ServiceUnavailableException(final Date retryAfter, final 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(final String message, final Date retryAfter, final 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(final Long retryAfter, final 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(final String message, final Long retryAfter, final 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(final Response response, final Throwable cause) Construct a new "service unavailable" exception.
| |
| ServiceUnavailableException | back to summary |
|---|---|
| public ServiceUnavailableException(final String message, final Response response, final 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
| |