2012-02-03 33 views

回答

1

您可以實施HandlerExceptionResolver以捕獲特定的異常類型。另一種可能的策略是使用實現@ExceptionHandler處理程序的通用或抽象DAO類。