Unhandled exception caught world at war

broken image
broken image

So if we have defined one of these for Exception class, then all the exceptions thrown by our request handler method will have handled. This annotation takes Exception class as argument.

broken image

All we need is to annotate these methods with annotation. Spring MVC Framework provides following ways to help us achieving robust exception handling.