Class ForbiddenException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.hc.core5.http.HttpException
se.michaelthelin.spotify.exceptions.SpotifyWebApiException
se.michaelthelin.spotify.exceptions.detailed.ForbiddenException
- All Implemented Interfaces:
Serializable
The server understood the request, but is refusing to fulfill it.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new ForbiddenException with no detail message.ForbiddenException
(String message) Constructs a new ForbiddenException with the specified detail message.ForbiddenException
(String message, Throwable cause) Constructs a new ForbiddenException with the specified detail message and 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
-
ForbiddenException
public ForbiddenException()Constructs a new ForbiddenException with no detail message. -
ForbiddenException
Constructs a new ForbiddenException with the specified detail message.- Parameters:
message
- the detail message
-
ForbiddenException
Constructs a new ForbiddenException with the specified detail message and cause.- Parameters:
message
- the detail messagecause
- the cause of this exception
-