public class XhrConnectionError extends Object
| Constructor and Description |
|---|
XhrConnectionError(com.google.gwt.xhr.client.XMLHttpRequest xhr,
elemental.json.JsonObject payload,
Exception exception)
Creates a XhrConnectionError for the given request using the given
payload.
|
| Modifier and Type | Method and Description |
|---|---|
Exception |
getException()
Returns the exception which caused the problem, if available.
|
elemental.json.JsonObject |
getPayload()
Returns the payload which was sent to the server.
|
com.google.gwt.xhr.client.XMLHttpRequest |
getXhr()
Returns
XMLHttpRequest which failed to reach the server. |
public XhrConnectionError(com.google.gwt.xhr.client.XMLHttpRequest xhr,
elemental.json.JsonObject payload,
Exception exception)
xhr - the request which caused the errorpayload - the payload which was on its way to the serverexception - the exception which caused the error or null if the error was
not caused by an exceptionpublic Exception getException()
public com.google.gwt.xhr.client.XMLHttpRequest getXhr()
XMLHttpRequest which failed to reach the server.public elemental.json.JsonObject getPayload()
Copyright © 2000–2019 Vaadin Ltd. All rights reserved.