public class StatusCodeException extends InvocationException
AsyncCallback.onFailure(Throwable) if the HTTP response from the
server does not have a 200 status code.| Constructor and Description |
|---|
StatusCodeException(int statusCode,
java.lang.String encodedResponse)
Construct an exception with the given status code and description.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getEncodedResponse()
Returns the response message associated with the failed request.
|
int |
getStatusCode()
Returns the status code associated with the failed request.
|