Class SpotifyWebApiException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.hc.core5.http.HttpException
se.michaelthelin.spotify.exceptions.SpotifyWebApiException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
BadGatewayException
,BadRequestException
,ForbiddenException
,InternalServerErrorException
,NotFoundException
,ServiceUnavailableException
,TooManyRequestsException
,UnauthorizedException
public class SpotifyWebApiException
extends org.apache.hc.core5.http.HttpException
An exception happened, eg. a HTTP status code 4** or 5** has been returned in a request.
- See Also:
-
Constructor Summary
ConstructorDescriptionSpotifyWebApiException
(String message) SpotifyWebApiException
(String message, Throwable cause) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
SpotifyWebApiException
public SpotifyWebApiException() -
SpotifyWebApiException
-
SpotifyWebApiException
-