GWT.UncaughtExceptionHandler and subsequently
GWT.setUncaughtExceptionHandler to catch uncaught exceptions in the
client. Basically, I'd like to display the stacktrace of any uncaught
exception in a dialog.
I had a bug in my code whereby a I was trying to iterate over a null
list and it should have thrown a NullPointerException, but my error
handling code was never triggered. However, if I add a button with a
select handler that simply throws a new runtime exception, it works.
Anyone know what I might be doing wrong here or how to implement the
uncaught exception handler correctly? Thanks.
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
No comments:
Post a Comment