Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » (no subject)
(no subject) [message #671492] Wed, 18 May 2011 05:49 Go to next message
Henrik Rentz-Reichert is currently offline Henrik Rentz-ReichertFriend
Messages: 261
Registered: July 2009
Senior Member
Hi,

the (Galileo) documentation says
"There is also an explicit way of terminating the execution of the workflow: if any invoke operation throws a
WorkflowInterruptedException (a runtime exception) the workflow will terminate immediately."

Unfortunately the Mwe2Runner re-throws any caught RuntimeException.
As a result the workflow terminates but prints a stack trace to the console - and makes it look as if it crashed.

I would prefer a method that just stops the workflow execution. Prior to that I issued my own error messages to tell the user what
went wrong.

Thanks,
Henrik
(no subject) [message #671600 is a reply to message #671492] Wed, 18 May 2011 11:53 Go to previous messageGo to next message
Sebastian Zarnekow is currently offline Sebastian ZarnekowFriend
Messages: 3118
Registered: July 2009
Senior Member
Hi Henrik,

there is currently no protocol for that. Please file a ticket.

Regards,
Sebastian
--
Need professional support for Eclipse Modeling?
Go visit: http://xtext.itemis.com

Am 18.05.11 07:49, schrieb Henrik Rentz-Reichert:
> Hi,
>
> the (Galileo) documentation says
> "There is also an explicit way of terminating the execution of the workflow: if any invoke operation throws a
> WorkflowInterruptedException (a runtime exception) the workflow will terminate immediately."
>
> Unfortunately the Mwe2Runner re-throws any caught RuntimeException.
> As a result the workflow terminates but prints a stack trace to the console - and makes it look as if it crashed.
>
> I would prefer a method that just stops the workflow execution. Prior to that I issued my own error messages to tell the user what
> went wrong.
>
> Thanks,
> Henrik
(no subject) [message #671622 is a reply to message #671600] Wed, 18 May 2011 14:01 Go to previous message
Knut Wannheden is currently offline Knut WannhedenFriend
Messages: 298
Registered: July 2009
Senior Member
Hi Sebastian,

I filed a ticket for this some time ago (against MWE2):
https://bugs.eclipse.org/bugs/show_bug.cgi?id=332168

Cheers,

--knut

On 5/18/11 1:53 PM, Sebastian Zarnekow wrote:
> Hi Henrik,
>
> there is currently no protocol for that. Please file a ticket.
>
> Regards,
> Sebastian
Previous Topic:Configuring mwe2 file of Xpand .generator project when having imported metamodel in Xtext
Next Topic:XtextEditor based on a string
Goto Forum:
  


Current Time: Thu Sep 19 05:00:25 GMT 2024

Powered by FUDForum. Page generated in 0.04785 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top