BadRequestException

open class BadRequestException(message: String, statusCode: Int?, reason: String?, cause: Throwable?) : SpotifyException

Thrown when a request fails

Constructors

BadRequestException
Link copied to clipboard
common
fun BadRequestException(message: String, cause: Throwable? = null)
BadRequestException
Link copied to clipboard
common
fun BadRequestException(error: ErrorObject?, cause: Throwable? = null)
BadRequestException
Link copied to clipboard
common
fun BadRequestException(authenticationError: AuthenticationError)
BadRequestException
Link copied to clipboard
common
fun BadRequestException(responseException: ResponseException)
BadRequestException
Link copied to clipboard
common
fun BadRequestException(message: String, statusCode: Int? = null, reason: String? = null, cause: Throwable? = null)

Functions

equals
Link copied to clipboard
common
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
common
open fun hashCode(): Int
toString
Link copied to clipboard
common
open fun toString(): String

Properties

cause
Link copied to clipboard
common
open val cause: Throwable?
message
Link copied to clipboard
common
open val message: String?
reason
Link copied to clipboard
common
val reason: String? = null
statusCode
Link copied to clipboard
common
val statusCode: Int? = null

Inheritors

SpotifyUriException
Link copied to clipboard

Sources

(source)
Link copied to clipboard