Exception handling in Spring MVC

Exception handling in Spring MVC

I have came across an interesting blog about exception handling in Spring MVC.

It nicely describe different options how to handle exceptions in MVC controllers. As usual Spring gives you variety of options, so it is up to you to decide which works better for you. However with power comes the responsibility and you can’t mix all of them together.

As a bonus, it tells you also how Spring Boot is dealing with exception as well.

Add a comment

*Please complete all fields correctly

Related Blogs

No Image
Posted by Stanislav Miklik | August 6, 2015
Spring Boot configuration of wro4j
What is wro4j Since you are here, you most likely know, but for others. wro4j (Web Resource Optimizer for Java) allows you (as name suggests) to optimize your web resources. Typically when you...
No Image
Posted by Stanislav Miklik | April 16, 2015
Netflix Zuul vs Nginx performance
Nowadays you can hear lot about microservices. Spring Boot is an excellent choice for building single microservice but you need to interconnect them somehow. That's what Spring Cloud tries to...