Exception handling in Eclipse [message #313709] |
Fri, 23 March 2007 02:30  |
Eclipse User |
|
|
|
Originally posted by: jayam.balasubramaniam.gmail.com
Hi all,
In Eclipse how the exceptions are handled?. Eclipse is an
application so what is the framework used to handel errors and exceptions?
I want to do the same for my rcp application.
Thanks,
Jayam
|
|
|
|
|
Re: Exception handling in Eclipse [message #313712 is a reply to message #313711] |
Fri, 23 March 2007 09:01   |
Eclipse User |
|
|
|
Originally posted by: merks.ca.ibm.com
Jacek,
It sounds cool. What are the specific classes involved that I could
learn more about them? I saw org.eclipse.debug.core.IStatusHandler, but
that says @since 2.0 and the plugin depends on org.eclipse.core.resources...
Jacek Pospychala wrote:
> In 3.3, there is a new status handling facility, where all you have to
> do is deliver an IStatus to it. Customizable Status handler takes care
> of either showing dialog, or adding entry to log.
>
> Ed Merks wrote:
>> Jayam,
>>
>> I really depends on the exceptions and when they occur. Generally
>> you could bring up a message box indicating the problem (e.g.,
>> org.eclipse.jface.ErrorDialog), or you could log the exception
>> (org.eclipse.core.runtime.Plugin.getLog()) so that a recording of the
>> issue is left in the Error Log view.
>>
>>
>> Jayam wrote:
>>> Hi all,
>>> In Eclipse how the exceptions are handled?. Eclipse is an
>>> application so what is the framework used to handel errors and
>>> exceptions?
>>> I want to do the same for my rcp application.
>>>
>>> Thanks,
>>> Jayam
>>>
>>>
>>>
|
|
|
Re: Exception handling in Eclipse [message #313715 is a reply to message #313712] |
Fri, 23 March 2007 10:30  |
Eclipse User |
|
|
|
Originally posted by: jacek.pospychala.pl.ibm.com
Ed,
they are in org.eclipse.ui.statushandlers and ui.internal.statushandlers,
You can also have a look at wiki:
http://wiki.eclipse.org/index.php/Platform_UI_Error_Handling
Ed Merks wrote:
> Jacek,
>
> It sounds cool. What are the specific classes involved that I could
> learn more about them? I saw org.eclipse.debug.core.IStatusHandler, but
> that says @since 2.0 and the plugin depends on
> org.eclipse.core.resources...
>
>
> Jacek Pospychala wrote:
>> In 3.3, there is a new status handling facility, where all you have to
>> do is deliver an IStatus to it. Customizable Status handler takes care
>> of either showing dialog, or adding entry to log.
>>
>> Ed Merks wrote:
>>> Jayam,
>>>
>>> I really depends on the exceptions and when they occur. Generally
>>> you could bring up a message box indicating the problem (e.g.,
>>> org.eclipse.jface.ErrorDialog), or you could log the exception
>>> (org.eclipse.core.runtime.Plugin.getLog()) so that a recording of the
>>> issue is left in the Error Log view.
>>>
>>>
>>> Jayam wrote:
>>>> Hi all,
>>>> In Eclipse how the exceptions are handled?. Eclipse is an
>>>> application so what is the framework used to handel errors and
>>>> exceptions?
>>>> I want to do the same for my rcp application.
>>>>
>>>> Thanks,
>>>> Jayam
>>>>
>>>>
>>>>
|
|
|
Powered by
FUDForum. Page generated in 0.21989 seconds