java.lang.Object | |||||
↳ | java.lang.Throwable | ||||
↳ | java.lang.Exception | ||||
↳ | java.io.IOException | ||||
↳ | fm.audiobox.core.exceptions.AudioBoxException | ||||
↳ | fm.audiobox.core.exceptions.RemoteMessageException |
Known Direct Subclasses |
This exception is the parent exception for:
It is used for those exception risen by responses given by the service that bring some information on what gone wrong.
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
fm.audiobox.core.exceptions.AudioBoxException
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
RemoteMessageException(HttpResponse response)
Instantiates a new Remote message exception.
| |||||||||||
RemoteMessageException(Errors errors, int statusCode)
Instantiates a new Remote message exception.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
static String |
errorsToString(Errors errors)
Transforms error mapping into strings.
| ||||||||||
int |
getErrorCode()
Gets error code (typically the HTTP STATUS).
| ||||||||||
Errors |
getErrors()
Gets the errors mapping.
| ||||||||||
String | getMessage() | ||||||||||
String |
toString()
Transforms error mapping into strings.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
fm.audiobox.core.exceptions.AudioBoxException
| |||||||||||
From class
java.lang.Throwable
| |||||||||||
From class
java.lang.Object
|
Instantiates a new Remote message exception.
response | the response |
---|
Instantiates a new Remote message exception.
errors | the errors |
---|---|
statusCode | the status code |
Transforms error mapping into strings.
errors | the errors mapping |
---|
Gets error code (typically the HTTP STATUS).
Transforms error mapping into strings.