강의

멘토링

로드맵

Inflearn Community Q&A

odark2076's profile image
odark2076

asked

Practical web development using Java Spring Boot

E05 ControllerAdvice usage and exception handling multilingual usage

BaseException 안에 다 만들어넣으면

Written on

·

286

0

RuntimeExcepton을 상속받은 추상클래서 AbstractBaseException을 만들고 그걸 또 상속받은 BaseException을 만드셨는데...

굳이 두번을 하지 않고 추상클래스 없이 BaseException에서 RuntimeExceptoin을 상속받고 이전에 만들었던 추상클래스 내용을 BaseException에 만들어서 사용하는거랑 무슨차이가 있나요? 왜 중간에 굳이 AbstractBaseException을 한번더 만든건지 이해가 안가네요??

spring-boot

Answer

This question is waiting for answers
Be the first to answer!
odark2076's profile image
odark2076

asked

Ask a question