public class AcmeRetryAfterException extends AcmeException
Constructor and Description |
---|
AcmeRetryAfterException(String msg,
Instant retryAfter)
Creates a new
AcmeRetryAfterException . |
Modifier and Type | Method and Description |
---|---|
Instant |
getRetryAfter()
Returns the retry-after date returned by the server.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public AcmeRetryAfterException(String msg, Instant retryAfter)
AcmeRetryAfterException
.msg
- Error detailsretryAfter
- retry-after date returned by the serverpublic Instant getRetryAfter()
Copyright © 2015–2019. All rights reserved.