How to cleanly handle runtime exceptions in AbstractModelInferrer [message #1835496] |
Fri, 04 December 2020 14:29  |
Eclipse User |
|
|
|
So I know about the XbaseValidator and that I can create error/warning checks, but can I also handle errors from the infer method of an AbstractModelInferrer? Say I have a runtime exception during code generation, is there a way I can handle the exception and cleanly report it as an error on a particular EObject or do I have to check for that condition in the validator separately? I noticed that a runtime exception in the infer method usually just puts an error on line 0 of the source file with the exception message.
Thank you all for you continued advice and help on this forum!
|
|
|
|
Powered by
FUDForum. Page generated in 0.04690 seconds