| java.lang.Object | ||||||
| ↳ | java.lang.Throwable | |||||
| ↳ | java.lang.Exception | |||||
| ↳ | java.io.IOException | |||||
| ↳ | fm.audiobox.core.exceptions.AudioBoxException | |||||
| ↳ | fm.audiobox.core.exceptions.RemoteMessageException | |||||
| ↳ | fm.audiobox.core.exceptions.AuthorizationException | |||||
This exception is thrown when the OAuth2 token and/or the refresh token have been invalidated or they are expired.
When this exception is thrown a new user authentication is required. It is also highly recommended to invalidate/delete/clear any stored credential.|
[Expand]
Inherited Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
fm.audiobox.core.exceptions.AudioBoxException
| |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
AuthorizationException(HttpResponse response)
Instantiates a new Authorization exception.
| |||||||||||
|
AuthorizationException(TokenResponseException tokenException)
Instantiates a new Authorization exception.
| |||||||||||
|
AuthorizationException(Errors errors, int statusCode)
Instantiates a new Authorization exception.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
fm.audiobox.core.exceptions.RemoteMessageException
| |||||||||||
From class
fm.audiobox.core.exceptions.AudioBoxException
| |||||||||||
From class
java.lang.Throwable
| |||||||||||
From class
java.lang.Object
| |||||||||||
Instantiates a new Authorization exception.
| response | the response that thrown the exception |
|---|
Instantiates a new Authorization exception.
| tokenException | the TokenResponseException |
|---|
Instantiates a new Authorization exception.
| errors | the errors |
|---|---|
| statusCode | the status code |