Spring Boot 예외 처리 정리Spring Boot에서 예외(Exception) 처리는 안정적인 애플리케이션을 만들기 위해 필수적인 요소임. 적절한 예외 처리를 통해 오류 발생 시 클라이언트에게 의미 있는 응답을 반환하고, 시스템의 안정성을 보장할 수 있음.1. 글로벌 예외 처리 (Global Exception Handling)모든 컨트롤러에서 발생하는 예외를 전역적으로 처리하기 위해 @RestControllerAdvice를 활용하여 예외 처리를 중앙 집중화할 수 있음.import org.springframework.http.HttpStatus;import org.springframework.http.ResponseEntity;import org.springframework.web.bind.anno..