Skip to content

Commit

Permalink
[PR 128-ecocode] replace EC34 by EC35 : correction of smell TER
Browse files Browse the repository at this point in the history
  • Loading branch information
dedece35 committed Oct 28, 2023
1 parent 405fd5d commit 51983fb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ private void visitStatementsList(List<StatementTree> lstStmts) {
visitTryStatement((TryStatementTree) stmt);
break;
default:
throw new RuntimeException("Kind not handled: " + kind);
throw new IllegalArgumentException("Kind not handled: " + kind);
}
}
}
Expand Down

0 comments on commit 51983fb

Please sign in to comment.