[antlr-interest] Custom Exception?
codeteacher
codeteacher at toughguy.net
Tue Oct 5 16:00:20 PDT 2004
Hi all,
Is it possible that in each rule we can throw custom exceptions other
than modifying the generated code directly? What I mean is:
MyRule {action} returns [type retval] throws MyException1, MyException2 :
declaration
{
// we can throw MyException1 or MyException2 and eliminate
// the need to catch the exception and convert it.
} ;
Thanks.
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/antlr-interest/
<*> To unsubscribe from this group, send an email to:
antlr-interest-unsubscribe at yahoogroups.com
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
More information about the antlr-interest
mailing list