Ya, basically the question. In a few of my handlers I have a @ModelAttribute, in an extreme edge case that @ModelAttribute can throw an excetion. When that happens I want to display an error page. I want to do this all in the @ModelAttribute method as I want to avoid redundant code in the different request handlers.
Share
Have you tried @ExceptionHandler?