Ignoring or re-throwing certain exceptions with SimpleMappingExceptionResolver
Hi All,
I'm having a bit of trouble and it seems someone must have happened across this before...
I use SimpleMappingExceptionResolver to map exceptions to views, however, I have certain exceptions that I'd just like to be left alone. This means I essentially need SimpleMappingExceptionResolver to ignore or re-throw those certain exceptions.
I can find no documented example of how to do this and digging around the API, I see no evidence to suggest that it's even possible (without rolling my own).
Has anyone else run into this? Can anyone offer a suggestion?
FTW, the exact use case is that I don't want Spring Security exceptions like AccessDeniedException to be handled by SimpleMappingExceptionResolver because I'd rather let Spring Security's ExceptionTranslationFilter deal with them. This seemed like a more appropriate place for the question than the SS forum though because the question really revolves around how to get SimpleMappingExceptionResolver to ignore or re-throw exceptions.
Any insight is greatly appereciated!
Kent Rancourt
DevOps Engineer