[antlr-interest] Problem catching exceptions in c# generated code

Ed Sykes ed.sykes at gmail.com
Thu Feb 21 06:23:26 PST 2008


I mean that the exception is uncaught and ends up in the unhandled user
exception code of the CLR.

On Thu, Feb 21, 2008 at 2:21 PM, Johannes Luber <jaluber at gmx.de> wrote:

> Ed Sykes schrieb:
> > Hi everyone,
> >
> > first post here, so hello everyone :)
> >
> > I've been using antlr with the c# generator for a month or so and i have
> > a problem that i now need to solve. The problem is that despite
> > surrounding the calls to the expression parser in a try catch i don't
> > seem to be able to catch the exceptions thrown. e.g.:
>
> Could it be that exceptions are caught elsewhere in the ANTLR code, so
> the exception never arrives at your catch clause? Or do you mean that
> despite having a catch clause, the exception goes further up in the call
> chain?
>
> Johannes
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20080221/6174f381/attachment-0001.html 


More information about the antlr-interest mailing list