try {
super.fireEvent(event);
} catch (UmbrellaException ue) {
for (Throwable t : ue.getCauses()) {
// here, use your code that prints the stack-trace; and if it's not
enough, loop over the getCause() hierarchy
}
}
An UncaughtExceptionHandler is a "global catch": basically, your GWT code is
run in a big try/catch, so any exception you don't catch will go to your
UncaughtExceptionHandler (if you set one; or they'll generate "JavaScript
errors" in your browser console)
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-web-toolkit/-/Dzqlz4vwqSoJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.