java.lang.Object
java.lang.Throwable
java.lang.Exception
org.shredzone.acme4j.exception.AcmeException
org.shredzone.acme4j.exception.AcmeRetryAfterException
- All Implemented Interfaces:
Serializable
Deprecated.
Will be removed in a future version.
A server side process has not been completed yet. The server also provides an estimate
of when the process is expected to complete.
Note: Prefer to use AcmeJsonResource.fetch()
. Invoking
AcmeJsonResource.update()
and catching this exception is unnecessary
complicated and a legacy from acme4j v2 which will disappear in a future release.
- See Also:
-
Constructor Summary
ConstructorDescriptionAcmeRetryAfterException
(String msg, Instant retryAfter) Deprecated.Creates a newAcmeRetryAfterException
. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Returns the retry-after instant returned by the server.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AcmeRetryAfterException
Deprecated.Creates a newAcmeRetryAfterException
.- Parameters:
msg
- Error detailsretryAfter
- retry-after date returned by the server
-
-
Method Details
-
getRetryAfter
Deprecated.Returns the retry-after instant returned by the server. This is only an estimate of when a retry attempt might succeed.
-