摘要: Spring-Boot 全局的异常处理主要使用注解 @ControllerAdvice 来完成~ 如果单使用@ExceptionHandler,只能在当前Controller中处理异常。但当配合@ControllerAdvice一起使用的时候,就可以摆脱那个限制了。 他会拦截所有使用@Control 阅读全文
posted @ 2018-03-27 08:53 zyg_Fatty 阅读(115) 评论(0) 推荐(0)