Exception handling in Spring MVC

Exception handling in Spring MVC

Posted by Stanislav Miklik | September 26, 2014 | spring

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

Posted by miklik | 06 August 2015
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…
Posted by miklik | 16 April 2015
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…