java.lang.Object
java.lang.Throwable
java.lang.Exception
org.shredzone.acme4j.exception.AcmeException
org.shredzone.acme4j.exception.AcmeRetryAfterException
- All Implemented Interfaces:
Serializable
This exception is thrown when a server side process has not been completed yet, and the
server returned an estimated retry date.
- See Also:
-
Constructor Summary
ConstructorDescriptionAcmeRetryAfterException
(String msg, Instant retryAfter) Creates a newAcmeRetryAfterException
. -
Method Summary
Modifier and TypeMethodDescriptionReturns the retry-after date 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
Creates a newAcmeRetryAfterException
.- Parameters:
msg
- Error detailsretryAfter
- retry-after date returned by the server
-
-
Method Details
-
getRetryAfter
Returns the retry-after date returned by the server.
-