Package org.stellar.sdk.requests
Class TooManyRequestsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.stellar.sdk.requests.TooManyRequestsException
- All Implemented Interfaces:
Serializable
Exception thrown when too many requests were sent to the Horizon server.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns number of seconds a client should wait before sending requests again, or -1 this time is unknown.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
TooManyRequestsException
-
-
Method Details
-
getRetryAfter
Returns number of seconds a client should wait before sending requests again, or -1 this time is unknown.
-