Wednesday, January 25, 2012

Re: Exception error handling on the client-side

Yes that's correct, but it's all about what you do after that call.
For some reason you need the code after to be executed Deferred such that the changes take effect.
See:  http://code.google.com/webtoolkit/doc/1.6/DevGuideCodingBasics.html , the section about the DeferredCommand class.



On Wed, Jan 25, 2012 at 10:12 PM, icfantv <adam.n.gordon@gmail.com> wrote:
I'm sorry, I don't exactly follow.  I have it set as the first line in
my EntryPoint's onModuleLoad() method.  Is this not the right place?

On Jan 25, 12:18 pm, Ed <post2edb...@gmail.com> wrote:
> Make sure to run the code after  calling "GWT.setUncaughtExceptionHandler"
> deferred (Scheduler.scheduleDeferred). Only then the exception handler is
> "set" correctly and can be used.

--
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.


--
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