강의

멘토링

커뮤니티

Inflearn Community Q&A

dysh10172845's profile image
dysh10172845

asked

Spring MVC Part 2 - Backend Web Development Application Techniques

@ExceptionHandler

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

Written on

·

316

0

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

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

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

springMVC

Answer 1

1

yh님의 프로필 이미지
yh
Instructor

안녕하세요. 유승현님

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

감사합니다.

dysh10172845's profile image
dysh10172845

asked

Ask a question