|
Re: Display Exception while generating Model-Output to User [message #985737 is a reply to message #985222] |
Thu, 15 November 2012 21:35 |
Jan Koehnlein Messages: 760 Registered: July 2009 Location: Hamburg |
Senior Member |
|
|
No, you'd have to override the BuilderParticipant of your language for
that purpose. Note that this is not very eclipsish as the builder runs
in a background job and a dialog would appear as out of nowhere.
The usual best practice is to cover all such conditions during
validation, thus given early feedback on invalid models already during
editing and prevent the generator from running in these cases.
Am 15.11.12 09:47, schrieb Thomas Hergenröder:
> If an Exception is thrown during the generation of the DSL output by my
> org.eclipse.xtext.generator.IGenerator
> I would like to present it - or an appropriate message - to the user.
>
> Is there an build in way to do that?
--
Need professional support for Eclipse Modeling?
Go visit: http://xtext.itemis.com
---
Get professional support from the Xtext committers at www.typefox.io
|
|
|
Powered by
FUDForum. Page generated in 0.03489 seconds