[Spring] ExceptionHandler ExceptionHandler 만들기 CustomExceptionHandler.java 1234567891011121314151617181920212223242526272829package com.ktds.jgbaek.handler; import javax.servlet.http.HttpServletRequest; import org.springframework.web.bind.annotation.ControllerAdvice;import org.springframework.web.bind.annotation.ExceptionHandler;import org.springframework.web.servlet.ModelAndView; @ControllerAdvice("com.ktds.jgbaek")publ.. Back-end/Spring 9년 전