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.
All we need is to annotate these methods with annotation. Spring MVC Framework provides following ways to help us achieving robust exception handling.