Handle runtime exceptions [message #60432] |
Mon, 19 November 2007 07:01  |
Eclipse User |
|
|
|
Hi all,
on http://wiki.eclipse.org/Platform_UI_Error_Handling a I read that
WorkbenchAdvisor#eventLoopException(Throwable) can be overridden to
handle uncaught runtime exceptions which occurred in UI operations.
However, when such an exception is thrown in a SelectionListener of a
Button, for instance, this method is not called.
Is there another possibility to hook into the RAP event loop to catch
such exceptions? Without having tried it I suppose that
WorkbenchAdvisor#eventLoopException(Throwable) is called in RCP
applications for exceptions from listeners, isn't it?
s
Regards,
Stefan.
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.24498 seconds