[antlr-interest] Meaning error messages

Sharon Li hushlee83 at yahoo.com.sg
Mon Feb 3 21:52:48 PST 2003


hi,

I'm working on a program that reads in input from a file. Is it possible to try..catch the exceptions and display meaningful error messages (i.e. "Invalid input! Pls try again! " ) rather than having the program terminate abruptly due to the following error: "at antlr.MismatchedTokenException.toString(MismatchedTokenException.java:193)". 

cheers,
sharon

 Yahoo! Travel
- Valentine surprise deals. Book now!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20030204/61fa35eb/attachment.html


More information about the antlr-interest mailing list