Signed-off-by: liach <liach@users.noreply.github.com>
This commit is contained in:
liach 2021-01-20 16:44:30 -06:00
parent 2d6eda19e7
commit 2a56056b5d
1 changed files with 1 additions and 1 deletions

View File

@ -288,7 +288,7 @@ public class MethodBuilder {
}
private void addExceptions() {
if (signature != null) {
if (signature != null && !signature.thrown.isEmpty()) {
for (TypeName each : signature.thrown) {
builder.addException(each);
}