[antlr-interest] Re: Meaning error messages
micheal_jor <open.zone at virgin.net>
open.zone at virgin.net
Tue Feb 4 01:27:30 PST 2003
--- In antlr-interest at yahoogroups.com, Sharon Li <hushlee83 at y...>
wrote:
>
> 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)".
Yes. See: http://www.antlr.org/doc/err.html#_bb1
Cheers,
Micheal
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
More information about the antlr-interest
mailing list