On 11/13/10 10:02 AM, Joachim Schrod wrote: > I'm using ANTLR 3.2 with Java code generation. > > According to the ANTLR book, p.94, and > http://www.antlr.org/wiki/pages/viewpage.action?pageId=1956, a rule > may have a «throws-spec». But I didn't find an explanation of that > part -- neither in the book nor on the Web site. > > If I have a rule that starts with > > remarks throws DiscardPDFException : ... > > I would have thought that DiscardPDFException is added to the > throws clause of the generated method; but it isn't done so. ANTLR > expects that clause without error messages, but also without effects. > > So my question is: > What's the spec for «throws-spec», syntactically and semantically?
I'm wondering about this, too. Is "throws" just a placeholder in Antlr 3.2? [Poking this because it didn't appear to get a response.] -- Braden McDaniel <[email protected]> List: http://www.antlr.org/mailman/listinfo/antlr-interest Unsubscribe: http://www.antlr.org/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 [email protected]. 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.
