Class RateLimitedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.atlassian.bitbucket.jenkins.internal.client.exception.BitbucketClientException
com.atlassian.bitbucket.jenkins.internal.client.exception.RateLimitedException
- All Implemented Interfaces:
Serializable
The request was not accepted on the remote server due to rate limiting.
- Since:
- 3.1
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionRateLimitedException(String message, int responseCode, String body, okhttp3.Headers headers) -
Method Summary
Methods inherited from class com.atlassian.bitbucket.jenkins.internal.client.exception.BitbucketClientException
toStringMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
RateLimitedException
-
-
Method Details
-
getRetryIn
public long getRetryIn()- Returns:
- The time in ms to retry in
-