Skip to content

Commit

Permalink
refactor: HandlerMapping 내부 컨트롤러 객체 생성시 예외 메시지 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
hyena0608 committed Sep 14, 2023
1 parent 59c5ef9 commit 527fb2f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ private Object getController(final Class<?> clazz) {
try {
return clazz.getDeclaredConstructor().newInstance();
} catch (Exception e) {
log.warn("Controller 를 기본생성자로 생성하던 도중 예외가 발생하였습니다.", e);
throw new HandlerMappingException("[ERROR] Controller 를 기본생성자로 생성하던 도중 예외가 발생하였습니다.");
log.warn("Controller 를 생성자로 생성하던 도중 예외가 발생하였습니다.", e);
throw new HandlerMappingException("[ERROR] Controller 를 생성자로 생성하던 도중 예외가 발생하였습니다.");
}
}

Expand Down

0 comments on commit 527fb2f

Please sign in to comment.