Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [XCORE] Modify "Couldn't resolve reference" error
[XCORE] Modify "Couldn't resolve reference" error [message #1754032] Tue, 14 February 2017 02:45 Go to next message
chris yo is currently offline chris yoFriend
Messages: 146
Registered: February 2013
Senior Member
I am using cross-reference from xcore. If an entry does not have a valid reference, xcore will throw an error like this:
Couldn't resolve reference to Test 'trial'.

I don't want xcore to specify the grammar name 'Test' in the error message as the user does not really care about the grammar part. "Couldn't resolve reference to 'trial'" is enough for me.

How can I modify the error message that the validator is throwing?
Re: [XCORE] Modify "Couldn't resolve reference" error [message #1754041 is a reply to message #1754032] Tue, 14 February 2017 06:09 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 31959
Registered: July 2009
Senior Member
I assume this is an Xtext question too. I can't find the string "resolve reference" in any of the EMF source.

Ed Merks
Professional Support:
Previous Topic:[XCORE] Warning "The feature is bidirectional reference."
Next Topic:Error in package registration while loading state machine from .uml
Goto Forum:

Current Time: Tue Jul 27 10:14:26 GMT 2021

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

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

Back to the top