To be summarized...
Reference article:
Advanced SpringBoot global exception handling: use @ControllerAdvice to capture and handle exceptions for different Controllers respectively
SpringBoot's method of catching global exceptions and handling them in the controller layer (@ControllerAdvice and @ExceptionHandler)
Annotation @RestControllerAdvice usage