java.lang.Object | |||||
↳ | java.lang.Throwable | ||||
↳ | java.lang.Exception | ||||
↳ | java.lang.RuntimeException | ||||
↳ | com.neomades.content.ContentException | ||||
↳ | com.neomades.content.network.ServerException |
The server has sent a response that does not have a 2XX, 401 or 403 HTTP status code.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
ServerException(ContentQuery query)
Creates an error that means an error occurred in the server.
| |||||||||||
ServerException(ContentQuery query, NetworkResponse errorResponse)
Creates an error that means an error occurred in the server.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
NetworkResponse | getNetworkResponse() | ||||||||||
ContentQuery | getQuery() |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Creates an error that means an error occurred in the server.
query | which query has failed with a server error. |
---|
Creates an error that means an error occurred in the server.
query | which query has failed with a server error. |
---|---|
errorResponse | the response from the server |