[forge-dev] [JBoss JIRA] Assigned: (SEAMFORGE-104) Method API should have the ability to add throws declarations

Lincoln Baxter III (JIRA) jira-events at lists.jboss.org
Mon May 23 16:33:00 EDT 2011


     [ https://issues.jboss.org/browse/SEAMFORGE-104?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lincoln Baxter III reassigned SEAMFORGE-104:
--------------------------------------------

    Assignee: Lincoln Baxter III


> 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
>            Assignee: Lincoln Baxter III
>             Fix For: 1.0.0.Alpha4
>
>
> 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

        


More information about the forge-dev mailing list