That doesn't sound right... what if an exception occurred on startup on the client side? There wouldn't even be an RPC Servlet involved yet.
On Sep 22, 6:38 pm, Sripathi Krishnan <sripathi.krish...@gmail.com> wrote: > Override the doUnexpectedFailure(Throwable t) method in your RPC Servlet. > This method gets called whenever an exception escapes your method. You can > log the stacktrace/message in this method. > > --Sri > > 2009/9/22 tieTYT <tie...@gmail.com> > > > > > When I'm in hosted mode, if my client code throws a runtime exception, > > it seems to be swallowed and not reported. For example, if I put a > > "throw new NullPointerException()" at the end of a method. I can use > > the debugger to find the exact line that's throwing the exception but > > when it occurs it just fails silently. There's no info in the Shell > > or on the console and the app doesn't even necessarily act like there > > was an error. > > > I'm not very familiar with our code or GWT so I have to ask: is this > > normal, expected GWT behavior or is our code failing to print a stack > > trace? > > > If this is GWT's fault, what's the work around? Someone on the irc > > channel suggested I wrap all my client code around a try/catch but > > that seems a little inconvenient and messy. --~--~---------~--~----~------------~-------~--~----~ 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~----------~----~----~----~------~----~------~--~---