It looks like HandlerExceptionResolver provides this functionality:
resolveException(HttpServletRequest request, HttpServletResponse response, Object handler, Exception ex)
I’m assuming “handler” is the handler that threw the exception. Can I get this in @ExceptionHandler, including all of the details that are associated with the request mapping for that handler?
According to the javadoc, no, you can’t. The list of permitted arguments types does not include information about the handler itself.