Class GithubRateLimitException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
ink.icoding.github4j.GithubException
ink.icoding.github4j.GithubRateLimitException
- All Implemented Interfaces:
Serializable
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class GithubException
GithubException.ErrorDetail -
Constructor Summary
ConstructorsConstructorDescriptionGithubRateLimitException(int statusCode, String message, String url, String docUrl, List<GithubException.ErrorDetail> errors) -
Method Summary
Methods inherited from class GithubException
documentationUrl, errors, fromResponse, githubMessage, statusCode, urlModifier and TypeMethodDescriptionerrors()static GithubExceptionfromResponse(int statusCode, byte[] body, String url) inturl()Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
GithubRateLimitException
public GithubRateLimitException(int statusCode, String message, String url, String docUrl, List<GithubException.ErrorDetail> errors)
-
-
Method Details
-
withRateLimit
-
rateLimit
-
retryAfter
-