Hi, I am troubling to throw my-own-exception during tree parsing.
I have a tree rule - nothing too complicated. Here is the snippet expression returns [ Expression exp ] *throws* *ExpressionParseException* : ^(op='+' a=expression b=expression ) { $exp = NumericOperationExpression.createOperation( op.getText().charAt(0) , (NumericExpression) dynamicToNumeric(a) , (NumericExpression) dynamicToNumeric(b)); } However the antlr generates /*/ src/main/antlr/Eval.g:63:1: expression returns [ Expression exp ] : *( ^(op= '+' a= expression b= expression ) .... public final Expression expression() *throws RecognitionException* { Expression exp = null; It looks like it is silently dropping 'throws' my-own-exception. Is it a bug? Or am I doing wrong? Thanks in advance. Michael Lee List: http://www.antlr.org:8080/mailman/listinfo/antlr-interest Unsubscribe: http://www.antlr.org:8080/mailman/options/antlr-interest/your-email-address --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "il-antlr-interest" group. To post to this group, send email to il-antlr-interest@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/il-antlr-interest?hl=en -~----------~----~----~----~------~----~------~--~---