Spring Boot · Medium
What is the use of @ControllerAdvice?
Spring BootREST APIsException HandlingSeniorStaff
Answer preview
Overview: @ControllerAdvice is a specialization of @Component that provides cross-cutting concerns for all controllers in the application — or a subset specified by package, annotation, or type.…