java.lang.Object | |||||
↳ | java.lang.Throwable | ||||
↳ | java.lang.Exception | ||||
↳ | java.lang.RuntimeException | ||||
↳ | com.google.gwt.user.client.rpc.InvocationException | ||||
↳ | com.google.gwt.user.client.rpc.StatusCodeException |
Indicates that an RPC response was returned with an invalid HTTP status code.
This exception will be presented via
onFailure(Throwable)
if the HTTP response from the
server does not have a 200
status code.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Construct an exception with the given status code and description.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the response message associated with the failed request.
| |||||||||||
Returns the status code associated with the failed request.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Throwable
| |||||||||||
From class
java.lang.Object
|
Construct an exception with the given status code and description.
statusCode | the HTTP status code to report |
---|---|
encodedResponse | the HTTP response message to report |
Returns the response message associated with the failed request.
Returns the status code associated with the failed request.