diff --git a/mvc/src/main/java/webmvc/org/springframework/web/servlet/mvc/tobe/AnnotationHandlerMapping.java b/mvc/src/main/java/webmvc/org/springframework/web/servlet/mvc/tobe/AnnotationHandlerMapping.java index 5d33fe75f0..ed5001a4f7 100644 --- a/mvc/src/main/java/webmvc/org/springframework/web/servlet/mvc/tobe/AnnotationHandlerMapping.java +++ b/mvc/src/main/java/webmvc/org/springframework/web/servlet/mvc/tobe/AnnotationHandlerMapping.java @@ -51,8 +51,8 @@ private Object getController(final Class clazz) { try { return clazz.getDeclaredConstructor().newInstance(); } catch (Exception e) { - log.warn("HandlerExecution 을 생성하던 도중 예외가 발생하였습니다.", e); - throw new HandlerMappingException("[ERROR] HandlerExecution 을 생성하던 도중 예외가 발생하였습니다."); + log.warn("Controller 를 기본생성자로 생성하던 도중 예외가 발생하였습니다.", e); + throw new HandlerMappingException("[ERROR] Controller 를 기본생성자로 생성하던 도중 예외가 발생하였습니다."); } }