Inflearn brand logo image

Inflearn Community Q&A

dysh10172845's profile image
dysh10172845

asked

Spring MVC Part 1 - Core technologies for backend web development

View Separation - v2

throws Exception 관련

Written on

·

237

0

controller 자식 클래스에서 Exception를  메소드 방식으로 ,

이를 실행하는 곳으로 다 떠 넘겨 버린거 같은데,

자식클래스에서 직접 처리하지 않고 이렇게 하는 것은

예외 처리 또한 중복되서 그런건가요?

MVCspring

Answer 1

0

yh님의 프로필 이미지
yh
Instructor

안녕하세요. 유승현님

자식에서 처리할 수 있는 예외는 처리하고, 처리할 수 없는 예외는 던지도록 설계된 것으로 이해하시면 됩니다.

감사합니다.

dysh10172845's profile image
dysh10172845

asked

Ask a question