인프런 영문 브랜드 로고
인프런 영문 브랜드 로고

Inflearn Community Q&A

유승현's profile image
유승현

asked

Spring MVC Part 2 - Backend Web Development Utilization Technology

@ExceptionHandler

한 컨트롤러 내에서 같은 익셉션을 처리하는 경우

Written on

·

280

0

한 컨트롤러 내에서 같은 익셉션을 처리하는 경우에

다른 response 결과를 내주고 싶다면

어쩔수 없이 Exception을 새로 만들어서 적용해야 하나요?

springMVC

Answer 1

1

yh님의 프로필 이미지
yh
Instructor

안녕하세요. 유승현님

강의에서 설명드린 ResponseEntity를 사용하시면 됩니다.

감사합니다.

유승현's profile image
유승현

asked

Ask a question