-
Enhancement
-
Resolution: Done
-
Major
-
None
-
None
-
None
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)