Add to Chrome
✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
The @ControllerAdvice annotation allows us to ...
Available on custom exceptions in order to map these exceptions to HTTP status codes
Define a method to handle exceptions
Consolidate our multiple, scattered @ExceptionHandlers from before into a single, global error handling component
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!