handling exceptions in a plugin [message #330592] |
Mon, 04 August 2008 20:46 |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.05569 seconds