Consider we try to feed some incorrect input text to some grammar (e.g. text which contains some unknown token). In ANTLRWorks during interpretation we will see
ANTLRWorks
Well, this answer given by 280Z28 to my second part of this question solves both problems well. So, this is the proper answer.