Resolving of ServletExceptions via the configured HandlerExceptionResolvers
authorKai Moritz <kai@juplo.de>
Mon, 20 Jun 2016 15:33:15 +0000 (17:33 +0200)
committerKai Moritz <kai@juplo.de>
Mon, 20 Jun 2016 15:33:15 +0000 (17:33 +0200)
commitd5f095b05c68b3cf143138faf6a084298cf9de36
treea1f9c2c7353836c1e4bf5893e11d517a0b2e39ea
parent7ef40926db0d3d05443af767fece91ccbc2ddfa1
Resolving of ServletExceptions via the configured HandlerExceptionResolvers

Implemented the class ExceptionResolverErrorController, tries to resolve the
root-cause of a ServletException via the configured HandlerExceptionResolvers.

To do so, the class mimics the initialization of the configured
HandlerExceptionResolvers, that the DispatcherServlet executes, because,
unfortunatly, the DispatcherServlet does not make the configured resolvers
available.
src/main/java/de/juplo/thymeproxy/Application.java
src/main/java/de/juplo/thymeproxy/ExceptionResolverErrorController.java [new file with mode: 0644]