Uploaded image for project: 'Forge'
  1. Forge
  2. FORGE-117

Method API should have the ability to add throws declarations

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Major
    • 1.0.0.Alpha4
    • None
    • None
    • None

    Description

      There is no way to add throws declarations to methods using the builder interface now. The following demonstrates how this should work.

      .addMethod()
         .setName("main")
         .setStatic()
         .setPublic()
         .setReturnTypeVoid()
         .addThrows(MyException.class)
         .addThrows(MyOtherException.class)
      

      Attachments

        Activity

          People

            lincolnthree Lincoln Baxter III (Inactive)
            pbakker_jira Paul Bakker (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: