try/catch over the entire application sounds scary :) maybe you should use GWT.setUncaughtExceptionHandler() to set your own exception handler, that would then (maybe) transfer the errors to the server, if you wish. in this exception handler you could also use http://code.google.com/p/gwt-log/ logging library to do some logging on the client side (that will show up e.g. in firebug-console)
On Aug 4, 6:01 pm, Arthur Kalmenson <[email protected]> wrote: > Well, you could add a try/catch block over your entire application and > on exception send an RPC to the server with the exception... > > -- > Arthur Kalmenson > > On Sat, Aug 1, 2009 at 12:39 PM, mic<[email protected]> wrote: > > > How should I do proper exception handling without relying on the > > hosted mode? I would like to have something like GWT.log in non-hosted > > mode as well. How would I transport the excpetion information to the > > server side? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. 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 -~----------~----~----~----~------~----~------~--~---
