Package org.stellar.sdk.exception
Class TooManyRequestsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.stellar.sdk.exception.SdkException
org.stellar.sdk.exception.NetworkException
org.stellar.sdk.exception.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 TypeMethodDescriptionNumber of seconds a client should wait before sending requests againMethods inherited from class org.stellar.sdk.exception.NetworkException
getBody, getCodeMethods 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
Number of seconds a client should wait before sending requests again
-