定义服务异常 `ServerException` ,打印error日志,返回接口错误,业务异常 `BusinessException` ,不打印error日志,只返回接口错误,参数绑定异常 `BindException` ,打印error日志,返回接口错误等。同时捕获全局异常返回通用结构体
| License | Apache 2.0 |
|---|---|
| Tags | github |
| Date | May 10, 2022 |
| Files | pom (2 KB) jar (7 KB) View All |
| Repositories | Central |
| Ranking | #509507 in MvnRepository (See Top Artifacts) |
| Vulnerabilities | Vulnerabilities from dependencies: CVE-2025-61795 CVE-2025-55752 CVE-2025-49125 View 20 more ... |
Compile Dependencies (8)
| Category/License | Group / Artifact | Version | Updates | |
|---|---|---|---|---|
Apache 2.0 | io.github.tf2jaguar.micro » micro-core | 1.1.2.RELEASE | 1.1.3.RELEASE | |
| Application Metrics Apache 2.0 | io.micrometer » micrometer-core | 1.3.6 | 1.16.0 | |
| Web Server Apache 2.0 | org.apache.tomcat.embed » tomcat-embed-core22 vulnerabilities | 9.0.33 | 11.0.14 | |
| Logging MIT | org.slf4j » slf4j-api | 1.7.30 | 2.0.17 | |
| Dep Injection Apache 2.0 | org.springframework » spring-context | |||
| Web Framework Apache 2.0 | org.springframework » spring-web | |||
| Config Apache 2.0 | org.springframework.boot » spring-boot-autoconfigure1 vulnerability | 2.2.6.RELEASE | 3.5.7 | |
| Annotation Tool Apache 2.0 | org.springframework.boot » spring-boot-configuration-processor (optional) | 2.2.6.RELEASE | 3.5.7 |
Licenses
| License | URL |
|---|---|
| The Apache Software License, Version 2.0 | http://www.apache.org/licenses/LICENSE-2.0.txt |
Developers
| Name | Dev Id | Roles | Organization | |
|---|---|---|---|---|
| zhangguodong | jelly_54<at>163.com | |||
| Pivotal | info<at>pivotal.io | Pivotal Software, Inc. |