Class TooManyRequestsException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.apache.http.HttpException
-
- com.wrapper.spotify.exceptions.SpotifyWebApiException
-
- com.wrapper.spotify.exceptions.detailed.TooManyRequestsException
-
- All Implemented Interfaces:
Serializable
public class TooManyRequestsException extends SpotifyWebApiException
Rate limiting has been applied.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TooManyRequestsException()TooManyRequestsException(String message)TooManyRequestsException(String message, int retryAfter)TooManyRequestsException(String message, Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetRetryAfter()voidsetRetryAfter(int retryAfter)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-