Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-swt-dev] Exception consumption during DND operations


There is a bug report about this:

http://dev.eclipse.org/bugs/show_bug.cgi?id=4811

The bottom line is if DND does not "eat" the exceptions, the application will GP/hang.  To whom would the exception be thrown because the error is in the application code which DND called triggered by a callback from the OS?

What you need to do is wrap your event handlers in throw and catch and verify that in your code no exception is thrown.



"Randy Hudson" <hudsonr@xxxxxxxxxx>
Sent by: platform-swt-dev-admin@xxxxxxxxxxx

27/02/2002 03:51 PM
Please respond to platform-swt-dev

       
        To:        platform-swt-dev@xxxxxxxxxxx
        cc:        
        Subject:        [platform-swt-dev] Exception consumption during DND operations


SWT currently consumes throwables silently in some of the bowels of DND.
This seems like a bad idea since debugging such exceptions can be **very**
difficult.  Perhaps some OS cleanup is necessary, and thus the catch block,
but can those exceptions be re-thrown after the proper teardown has
completed?

_______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/platform-swt-dev



Back to the top