Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » handling exceptions in a plugin
handling exceptions in a plugin [message #330592] Mon, 04 August 2008 20:46
jeevan is currently offline jeevanFriend
Messages: 20
Registered: July 2009
Junior Member
Is there a standard way in which exceptions are handled in a eclipse
application?

In my case when there is a exception in my application, I create a new
RuntimeExcpetion and wrap the original exception in it. This way no change
is needed in the method signature (which is not possible while
implementing eclipse defined interfaces )and also does not force the
invoking methods to catch the exceptions.

I tried to catch all these exception in the IApplication class so that I
can present the user an error dialog instead of logging it in the .log
file. But this does not seem to work. The control returns to the
IApplication class only when I close the application.

I do not want to create a error dialog everywhere an exception is thrown.


Thanks in advance
-Jeevan
Previous Topic:Wrapping (or not) long titles in form sections
Next Topic:How to make a window toolbar combo box editable?
Goto Forum:
  


Current Time: Thu Jul 25 16:20:56 GMT 2024

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

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

Back to the top