Package io.rdapapi.client.exceptions
Class UpstreamException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.rdapapi.client.exceptions.RdapApiException
io.rdapapi.client.exceptions.UpstreamException
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionUpstreamException(String message, String errorCode) UpstreamException(String message, String errorCode, Integer retryAfter) -
Method Summary
Modifier and TypeMethodDescriptionSeconds until the upstream server may recover, or null when the API did not say.Methods inherited from class io.rdapapi.client.exceptions.RdapApiException
getErrorCode, getStatusCodeMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
UpstreamException
-
UpstreamException
-
-
Method Details
-
getRetryAfter
Seconds until the upstream server may recover, or null when the API did not say.
-