- 引入自定义异常类 CustomException- 使用 ErrorUtils 工具类处理错误信息 - 在 catch块中抛出 CustomException,便于错误追踪和处理 |
||
|---|---|---|
| .. | ||
| src | ||
| crm-common.iml | ||
| pom.xml | ||
- 引入自定义异常类 CustomException- 使用 ErrorUtils 工具类处理错误信息 - 在 catch块中抛出 CustomException,便于错误追踪和处理 |
||
|---|---|---|
| .. | ||
| src | ||
| crm-common.iml | ||
| pom.xml | ||