Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 356709

Summary: UIProcess calls finalUpdateUI even if runJob throws Exception
Product: [RT] Riena Reporter: Christian Campo <christian.campo>
Component: UIAssignee: Project Inbox <riena.core-inbox>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

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 ?