How does the error message come out ?
- From: B.LePing@xxxxxxxxx
- Date: 21 Feb 2006 20:29:00 -0800
I generated the parser with the example Simple1.jj in the
SimpleExamples directory and run it . If there is lexical error in the
input, an expection will be thrown and the error message would be
printed out in the console. But from where does the message come out ?
There is any call of the method printStackTrace() . I debugged the
programm in Eclipse, found out that when it came to the end in
Simple1TokenManager.java "throw new TokenMgrError( ....)" ,the error
message came out .
But how does this happen ?
Expecting any help . Thanks .
.
- Follow-Ups:
- Re: How does the error message come out ?
- From: Sreenivas Viswanadha
- Re: How does the error message come out ?
- Prev by Date: Re: help: mixing java code with javacc/jjtree code
- Next by Date: Re: How does the error message come out ?
- Previous by thread: Newbie: FIRST set
- Next by thread: Re: How does the error message come out ?
- Index(es):