I am using AbstractXSLTView to prepare all my views. This works great.
However, I cannot seem to get Spring to catch any exceptions coming
out of the createDomNode method. To be specific, I have defined an
unchecked Exception that I call ViewException. This can be thrown by
a bean that generates the JDOM document. I have setup a mapping for
the ViewException using the SimpleMappingExceptionResolver but the
logs seem to show it is ignored. I do see the ViewException and its message in the logs but no matter how I set things up, I cannot grab it so I can redirect to a nice HTML error page.
Any thoughts on how I might approach this? Right now any problems in my JDOM setup just crash the application.