thr.getMessage() will return null when it is an exception without a message (NullPointerException for example).
So maybe you are now seeing an exception in calling Window.alert
On Wed, Jun 4, 2014 at 7:03 AM, Magnus <alpineblaster@gmail.com> wrote:
--Wait, something has changed!There seems to be an uncaught exception ("Annahme" may be a wrong german translation for "exception"...):But I have installed a handler:@Overridepublic void onUncaughtException (Throwable thr){String m = thr.getMessage ();Window.alert (m);}Magnus
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:
Post a Comment