Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Handle runtime exceptions
Handle runtime exceptions [message #60432] Mon, 19 November 2007 12:01 Go to next message
Stefan   is currently offline Stefan Friend
Messages: 316
Registered: July 2009
Senior Member
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.
Re: Handle runtime exceptions [message #61101 is a reply to message #60432] Tue, 20 November 2007 10:14 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: fappel.innoopract.com

Hi,

you are right. In RCP WorkbenchAdvisor#eventLoopException(Throwable) is
called in case of an uncaught runtime exception in UI operations. I opened a
bug #210363.


Ciao
Frank


"Stefan R
Re: Handle runtime exceptions [message #61125 is a reply to message #61101] Tue, 20 November 2007 10:26 Go to previous message
Stefan   is currently offline Stefan Friend
Messages: 316
Registered: July 2009
Senior Member
Thanks, Frank.

Regards,
Stefan.
Previous Topic:404 error when deploying org.eclipse.rap.demo in jboss-4.2.2GA
Next Topic:two dialogs in one method PROBLEM?!
Goto Forum:
  


Current Time: Fri Nov 08 22:01:08 GMT 2024

Powered by FUDForum. Page generated in 0.02726 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top