I am overriding resolveException to SimpleMappingExceptionResolver to send an email with stacktrace that works for 500 errors, but error 400 does not reach this method. (There is no stacktrace sending, but I would still like to send an email and show a nice error page.)
Is there a way to do this, or should I just configure my web.xml to handle 400 (and the like)?
source share