java.lang.Object | |||||
↳ | java.lang.Throwable | ||||
↳ | java.lang.Exception | ||||
↳ | java.io.IOException | ||||
↳ | fm.audiobox.core.exceptions.AudioBoxException | ||||
↳ | fm.audiobox.core.exceptions.ForbiddenException |
This exception is thrown when the user tries to access a resource he's not allowed to access, because of ownership or account state.
Its main usage is to handle 402 and 403HttpStatus
messages.
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
fm.audiobox.core.exceptions.AudioBoxException
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
ForbiddenException(HttpResponse response)
Instantiates a new Forbidden exception starting from the response.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
fm.audiobox.core.exceptions.AudioBoxException
| |||||||||||
From class
java.lang.Throwable
| |||||||||||
From class
java.lang.Object
|
Instantiates a new Forbidden exception starting from the response.
response | the response |
---|