Question: How to handle exception in Spring Boot.Answer: Spring Boot provides a very useful way to handle exceptions using @ControllerAdvice annotation. |
Is it helpful?
Yes
No
Most helpful rated by users:
- What is Spring Boot?
- How to scan all the beans and package declarations in Spring Boot?
- What are embedded containers support by Spring?
- What are the advantages of microservice?
- Mention some advantages of Spring Boot.