24 Star 325 Fork 221

huan1993/spring-cloud-parent

Create your Gitee Account
Explore and code with more than 13.5 million developers,Free private repositories !:)
Sign up
文件
Clone or Download
contribute
Sync branch
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README

介绍

此工程主要是为了处理 SpringBoot 程序中出现的问题。

知识点

  1. 如果我们实现了ResponseEntityExceptionHandler类,那么Spring默认的异常处理将由DefaultHandlerExceptionResolver变成这个。
  2. 如果我们返回的异常信息不需要自定义,则可以使用默认的DefaultHandlerExceptionResolver
  3. 我们也可以使用 @ExceptionHandler 来进行特定的异常处理。
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/huan1993/spring-cloud-parent.git
git@gitee.com:huan1993/spring-cloud-parent.git
huan1993
spring-cloud-parent
spring-cloud-parent
master

Search