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.

Related Post

Leave a Comment

© 2021 Instea, s.r.o. All rights reserved. Privacy policy

Contact us

Where to find us