Reviewers: rjrjr,

Description:
Public (emmanu...@google.com):
Fix exception exception reporting.

Now consistent with all other usages of UncaughtExceptionHandler:
com/google/gwt/core/client/impl/Impl.java:214
com/google/gwt/core/client/impl/AsyncFragmentLoader.java:578
com/google/gwt/storage/client/StorageImpl.java:59
com/google/gwt/user/client/impl/AsyncProxyBase.java:110


Please review this at http://gwt-code-reviews.appspot.com/1529806/

Affected files:
  M user/src/com/google/gwt/core/client/impl/SchedulerImpl.java


Index: user/src/com/google/gwt/core/client/impl/SchedulerImpl.java
===================================================================
--- user/src/com/google/gwt/core/client/impl/SchedulerImpl.java (revision 10571) +++ user/src/com/google/gwt/core/client/impl/SchedulerImpl.java (working copy)
@@ -227,7 +227,7 @@
         } else {
           t.executeScheduled();
         }
-      } catch (RuntimeException e) {
+      } catch (Throwable e) {
         if (GWT.getUncaughtExceptionHandler() != null) {
           GWT.getUncaughtExceptionHandler().onUncaughtException(e);
         }


--
http://groups.google.com/group/Google-Web-Toolkit-Contributors

Reply via email to