Class BadGatewayException
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.BadGatewayException
- All Implemented Interfaces:
Serializable
The server was acting as a gateway or proxy and received an invalid response from the upstream server.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreate a BadGatewayException.BadGatewayException
(String message) Create a BadGatewayException with a message.BadGatewayException
(String message, Throwable cause) Create a BadGatewayException with a 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
-
BadGatewayException
public BadGatewayException()Create a BadGatewayException. -
BadGatewayException
Create a BadGatewayException with a message.- Parameters:
message
- The exception message.
-
BadGatewayException
Create a BadGatewayException with a message and cause.- Parameters:
message
- The exception message.cause
- The exception cause.
-