Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    throw RuntimeException on client side.

    Hi,

    I want to know if it is possible to catch a RuntimeException (ang log it) on client side and also throw on client side.

    It seem that when I call 'throw new RuntimeException("error")', the exception is never catched and I don't have any error message in console (java console or smart client console).

    I've try with Log.setUncaughtExceptionHandler(); or GWT.setUncaughtExceptionHandler(new GWT.UncaughtExceptionHandler());
    but I have no results.

    Do you have any ideas ?
    Thank you

    Clément

    #2
    Which version of GWT are you using? If you're not using GWT 2.0, please try upgrading and see if that helps? This is a known GWT issue so make sure you vote for it.

    Comment


      #3
      yes i am using GWT 2.0 (and smartgwt 2.0).

      Comment


        #4
        This should now be fixed. See details here.

        Sanjiv

        Comment

        Working...
        X