|Accessing to errors in a model file [message #1222147]
||Thu, 19 December 2013 19:24
| Victor Noël
Registered: June 2010
I'm trying to access to the errors in my model at the JvmModelGenerator level, when internalDoGenerate is called: I, on purpose, made my BuilderParticipant shouldGenerate method always return true.
The way I thought was correct was using ErrorSafeExtensions.hasErrors method, but strangely, it seems that IElementIssueProvider returned by the IElementIssueProvider.Factory always contains a Data field which is null, even when there is errors in the file!
So, first, I'm wondering if it is not a bug, and second, if there is an alternative way of checking for errors for a given element (and recursively in its eContent).
Powered by FUDForum
. Page generated in 0.01679 seconds