velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Geir Magnusson Jr." <ge...@optonline.net>
Subject Re: reporting bugs
Date Sat, 14 Jul 2001 12:24:41 GMT
Tim Joyce wrote:
>
> [SNIP]
> 
> bizarely I reported this to webmacro a couple of days ago.  I IMHO javacc
> has a bug where it throws Errors and not Exceptions when it hits token
> problems.
> 
>   public class TokenMgrError extends Error
> 
> Anyway brian fixed this by catching and wraping:
> 
>       catch (TokenMgrError e) {
>         throw new ParseException("Lexical error: " + e.toString());
>       }
> 
> I know this doesn't help you, but as it's occured twice, perhaps someone
> should raise this with the Javacc people.

Will do on both counts...

-- 
Geir Magnusson Jr.                           geirm@optonline.net
System and Software Consulting
Developing for the web?  See http://jakarta.apache.org/velocity/
You have a genius for suggesting things I've come a cropper with!

Mime
View raw message