Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 353307 - Handle of Eclipse status (IStatus) in ApplicationAdvisor.getWorkbenchErrorHandler() is not always correct
Summary: Handle of Eclipse status (IStatus) in ApplicationAdvisor.getWorkbenchErrorHan...
Status: NEW
Alias: None
Product: Riena
Classification: RT
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-28 07:40 EDT by Thorsten Schenkel CLA
Modified: 2011-07-28 07:40 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thorsten Schenkel CLA 2011-07-28 07:40:04 EDT
The ApplicationAdvisor implements the method getWorkbenchErrorHandler() and it always uses the service IExceptionHandlerManager.
It is not always correct to handle the status in the implementation of AbstractStatusHandler like an exception.
Because it is optional that the exception of the Eclipse status (IStatus) is set.
Furthermore the method AbstractStatusHandler.handle has the parameter style. This style will be ignored in the Rinea. According to the value of the style the message and/or the exception of the status should be logged, shown etc.