java.lang.Object | |
↳ | com.google.gwt.core.client.HttpThrowableReporter |
This is a utility class which can report Throwables to the server via a JSON-formatted payload.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Installs an
GWT.UncaughtExceptionHandler that will automatically invoke
report(String, Throwable) . | |||||||||||
Report a Throwable to the server.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Installs an GWT.UncaughtExceptionHandler
that will automatically invoke
report(String, Throwable)
.
url | A URL that is suitable for use with XMLHttpRequest
|
---|
Report a Throwable to the server. This method will sent an HTTP
POST
request with a JSON-formatted payload. The payload will
consist of a single JSON object with the following keys:
getPermutationStrongName()
getMessage()
getMethodName()
.url | A URL that is suitable for use with XMLHttpRequest |
---|---|
t | The Throwable to report |
true
if the request was successfully initiated