Method API should have the ability to add throws declarations
-------------------------------------------------------------
Key: SEAMFORGE-104
URL:
https://issues.jboss.org/browse/SEAMFORGE-104
Project: Seam Forge
Issue Type: Enhancement
Reporter: Paul Bakker
There is no way to add throws declarations to methods using the builder interface now. The
following demonstrates how this should work.
{code}
.addMethod()
.setName("main")
.setStatic()
.setPublic()
.setReturnTypeVoid()
.addThrows(MyException.class)
.addThrows(MyOtherException.class)
{code}
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira