[antlr-interest] error handling

Lance Gutteridge lance at thinkingworks.com
Tue Apr 5 08:57:44 PDT 2005


Bhareth,

Thanks for your help.  I read the documentation you suggested and realized 
I didn't have defaultErrorHandler=false  set in the parser.  So the parser 
was catching the exceptions and reporting them to System.err.  With the 
default handler turned off my exceptions are flowing out to my code and now 
I can use them to construct meaningful error reports to my users.

Thanks again.
Lance
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20050405/6e0bdc52/attachment.html


More information about the antlr-interest mailing list