|
GWT 2.7.0 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.google.gwt.core.client.HttpThrowableReporter
JsonLogRecordClientUtil instead.
@Deprecated public final class HttpThrowableReporter
This is a utility class which can report Throwables to the server via a JSON-formatted payload.
| Method Summary | |
|---|---|
(package private) static java.lang.String |
buildPayload(java.lang.Throwable t)
Deprecated. Visible for testing. |
static void |
installUncaughtExceptionHandler(java.lang.String url)
Deprecated. Installs an GWT.UncaughtExceptionHandler that will automatically invoke
report(String, Throwable). |
static boolean |
report(java.lang.String url,
java.lang.Throwable t)
Deprecated. Report a Throwable to the server. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void installUncaughtExceptionHandler(java.lang.String url)
GWT.UncaughtExceptionHandler that will automatically invoke
report(String, Throwable).
url - A URL that is suitable for use with XMLHttpRequest
public static boolean report(java.lang.String url,
java.lang.Throwable t)
POST request with a
JSON-formatted payload. The payload will consist of a single JSON object with the following
keys:
GWT.getPermutationStrongName()Throwable.getMessage()StackTraceElement.getMethodName().
url - A URL that is suitable for use with XMLHttpRequestt - The Throwable to report
true if the request was successfully initiatedSymbolMapsLinkerstatic java.lang.String buildPayload(java.lang.Throwable t)
|
GWT 2.7.0 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||