400 : 잘못된 요청(Bad Request)
403 : 서버에서 외부 접근 거부 (Forbidden)
404 : 요청 주소를 찾을 수 없다(Not Found)
405: 허용되지 않은 메서드(요청방식) (Method Not Allowed)
500 : 서버 내부 오류 (Internal Server Error)
스프링 예외 처리 방법(우선 순위별로 작성)
@ControllerAdvice : 전역적 예외 처리
@ExceptionHandler (예외 종류)
예외 종류 : 메서드별로 처리할 예외를 지정
ex) @ExceptionHandler(SQLException.class) - SQL 관련 예외만 처리
@ExceptionHandler(IOException.class) - 입출력 관련 예외만 처리
@ExceptionHandler(Exception.class) - 모든 예외 처리