May any one tell me how to handle exceptions thrown when rendering the view?
I have an excelview[extends AbstractExcelView] which may throw exception during getTemplateSource() [this method overrides the super class method] if the file is invalid. This is a framework called template method. whenever the exception is thrown, stack trace is displayed on page.
I want to handle the exception and display the message to the user.
HandlerExceptionResolver dont resolve exception thrown from views.
Is there any thing similar to 'HandlerExceptionResolver' which may be used? or any other alternative ?