Skip to content

Commit

Permalink
refactor: 예외 종류 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
kdkdhoho committed Sep 26, 2023
1 parent f30bb89 commit 6363168
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ private ViewType negotiateViewType(String viewName) {

int index = viewName.indexOf('.');
if (index == -1) {
throw new RuntimeException("확장자명이 없습니다.");
throw new IllegalArgumentException("확장자명이 없습니다.");
}

return ViewType.from(viewName.substring(index + 1));
Expand Down

0 comments on commit 6363168

Please sign in to comment.