这个行不行? public interface HandlerExceptionResolverInterface to be implemented by objects than can resolve exceptions thrown during handler mapping or execution, in the typical case to error views. Implementors are typically registered as beans in the application context. Error views are analogous to the error page JSPs, but can be used with any kind of exception including any checked exception, with potentially fine-granular mappings for specific handlers. 或者用 ThrowsAdvice + BeanNameAutoProxyCreator
public interface HandlerExceptionResolverInterface to be implemented by objects than can resolve exceptions thrown during handler mapping or execution, in the typical case to error views. Implementors are typically registered as beans in the application context. Error views are analogous to the error page JSPs, but can be used with any kind of exception including any checked exception, with potentially fine-granular mappings for specific handlers.
或者用
ThrowsAdvice + BeanNameAutoProxyCreator