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.SystemOverloadedException |
This exception is thrown when AudioBox servers are overloaded or same job submitted too fast. The application should ensure to accept those errors and retry accordingly after few minutes.
Its main usage is to handle 503HttpStatus
messages.
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
SystemOverloadedException(HttpResponse response)
Instantiates a new SystemOverloadedException exception.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String |
getRetryAfter()
Gets the number in seconds in form of a string of the period to wait in order to try the next request.
| ||||||||||
int |
getRetryAfterInSeconds()
Gets the number in second of the period to wait in order to try the next request.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
Instantiates a new SystemOverloadedException exception.
response | the response |
---|
Gets the number in seconds in form of a string of the period to wait in order to try the next request.
Gets the number in second of the period to wait in order to try the next request.