Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 356709 - UIProcess calls finalUpdateUI even if runJob throws Exception
Summary: UIProcess calls finalUpdateUI even if runJob throws Exception
Status: NEW
Alias: None
Product: Riena
Classification: RT
Component: UI (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-05 03:22 EDT by Christian Campo CLA
Modified: 2011-09-05 03:22 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 Christian Campo CLA 2011-09-05 03:22:35 EDT
The UIProcess runJob method can return true if the job is successful, false if not and it can fail with an exception.

The finalUpdateUI method is called in any event. It would be highly desirable to distinguish between successful and failed jobs. Either through a property in the UIProcess so that the application code can ask for that state or we add methods like finalUpdateUISuccess finalUpdateUIError. (while keeping finalUpdateUI to not break existing applications)

I find it important that throwing an exception means the same as returning false in the runJob method. (which is currently not the case)

Any thoughts ?