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

Bug 332168

Summary: [mwe2] [runtime] provide api to interrupt workflow execution
Product: [Modeling] EMFT Reporter: Knut Wannheden <knut.wannheden>
Component: MWEAssignee: Project Inbox <emft-mwe-inbox>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P3 CC: hrr, mirko, sebastian.zarnekow
Version: 2.0Flags: sebastian.zarnekow: indigo+
Target Milestone: SR1   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description Knut Wannheden CLA 2010-12-08 15:15:09 EST
In MWE1 a workflow component could during its execution raise a WorkflowInterruptedException to signal that the workflow should be interrupted. This exception was then handled in WorkflowRunner by simply logging an error message (without exception stack trace).

I think it would make sense to add a corresponding API to MWE2.

Also note that the Xtext Generator class must also be extended accordingly so that a GeneratorFragment can throw this exception (unless Xtext introduces its own API for this purpose).
Comment 1 Henrik Rentz-Reichert CLA 2011-06-07 10:15:00 EDT
I also would appreciate a possibility to interrupt the workflow without a stack trace being printed to the console.