在构建Web项目时,我们如何处理Spring MVC中的异常?验证检查是否足以处理任何错误?
答案 0 :(得分:0)
In handle method scope, you can use validation checks to assure the parameter is correct and has suitable range.
Goballly, if there is some exceptions which are not catched by any application functions, the @ControllerAdvice is good to deal with such exceptions. You know much details by refering this page exception-handling-in-spring-mvc