In fact, I looked at the source of the spring DispatcherServlet and on line 809 it explains why the Error could not be processed
catch (Exception ex) {
Object handler = (mappedHandler != null ? mappedHandler.getHandler() : null);
mv = processHandlerException(processedRequest, response, handler, ex);
errorView = (mv != null);
}
- , spring ExceptionResolvers, , bean. , spring cathces Exception not Throwable. Exception, , spring . @ExceptionHandler, , .