Class ServiceUnavailableException

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

public class ServiceUnavailableException extends SpotifyWebApiException
The server is currently unable to handle the request due to a temporary condition which will be alleviated after some delay. You can choose to resend the request again.
See Also:
  • Constructor Details

    • ServiceUnavailableException

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

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

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