| 程序包 | 说明 |
|---|---|
| cn.iisme.framework.common | |
| cn.iisme.framework.enums | |
| cn.iisme.framework.exception |
| 限定符和类型 | 方法和说明 |
|---|---|
static Message |
Message.error(IException exception) |
static <T> Response<?> |
Response.error(IException exception)
返回失败响应
|
static <T> AppResponse<T> |
AppResponse.error(IException exception)
返回失败响应
|
| 构造器和说明 |
|---|
AppResponse(IException exception)
初始化一个新创建的 AppResponse 对象,使其表示一个空响应。
|
| 限定符和类型 | 类和说明 |
|---|---|
static class |
BizErrorCode.ApiErrorType
接口枚举类型
|
static class |
BizErrorCode.BizErrorType
业务枚举类型
|
static class |
BizErrorCode.DBErrorType
DB枚举类型
|
static class |
BizErrorCode.PermissionErrorType
权限枚举类型
|
static class |
BizErrorCode.ReturnType
成功失败枚举
|
static class |
BizErrorCode.UserErrorType
验证枚举类型
|
static class |
BizErrorCode.ValidateErrorType
验证枚举类型
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
ExceptionCode
异常码
|
class |
ServiceException
Service异常
|
| 限定符和类型 | 方法和说明 |
|---|---|
static ServiceException |
ServiceException.error(IException exceptionCode,
Object... args) |
| 构造器和说明 |
|---|
ServiceException(IException exceptionCode) |
Copyright © 2020. All rights reserved.