[antlr-interest] What causes org.antlr.runtime.EarlyExitException ?

Marcelo Nichele marcelo.nichele at gmail.com
Sat Oct 24 17:21:48 PDT 2009


Hi Peter,

One way of track error is through @rulecatch clause. So, every exception in
your grammar will be caught there.
Ex:

@rulecatch {
catch (RecognitionException e) {
    reportError(e);
    throw e;
}
}


On Sat, Oct 24, 2009 at 9:48 PM, Peter Boughton <boughtonp at gmail.com> wrote:

> Hi,
>
> I'm keep getting errors listed as "Recognition exception
> org.antlr.runtime.EarlyExitException"
>
> So what does this actually mean?
> Obviously something has gone wrong, but how do I track down what it is?
>
> Thanks,
>
> Peter
>
> List: http://www.antlr.org/mailman/listinfo/antlr-interest
> Unsubscribe:
> http://www.antlr.org/mailman/options/antlr-interest/your-email-address
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20091024/aca4b8ba/attachment.html 


More information about the antlr-interest mailing list