Class BadRequestException

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.BadRequestException
All Implemented Interfaces:
Serializable

public class BadRequestException extends SpotifyWebApiException
The request could not be understood by the server due to malformed syntax.
See Also:
  • Constructor Details

    • BadRequestException

      public BadRequestException()
      Constructs a new BadRequestException with no detail message.
    • BadRequestException

      public BadRequestException(String message)
      Constructs a new BadRequestException with the specified detail message.
      Parameters:
      message - the detail message
    • BadRequestException

      public BadRequestException(String message, Throwable cause)
      Constructs a new BadRequestException with the specified detail message and cause.
      Parameters:
      message - the detail message
      cause - the cause of this exception