Skip to content

Latest commit

 

History

History
7 lines (4 loc) · 386 Bytes

README.md

File metadata and controls

7 lines (4 loc) · 386 Bytes

Controller Advice in Spring boot application

The ExceptionHandlerExceptionResolver is responsible to find the right handler to resolve a specific exception type

org/springframework/web/servlet/mvc/method/annotation/ExceptionHandlerExceptionResolver.java

The function initExceptionHandlerAdviceCache will register at the runtime all the bean annotated with @ControllerAdvice.