| Package | Description |
|---|---|
| cn.detachment.frame.core.exception | |
| cn.detachment.frame.core.factory |
| Constructor and Description |
|---|
ServiceException(Result bean) |
| Modifier and Type | Method and Description |
|---|---|
static Result |
ResultFactory.buildError(int errorCode,
String msg) |
static <T> Result<T> |
ResultFactory.buildError(int errCode,
T t,
String msg) |
static Result |
ResultFactory.buildSuccess() |
static <T> Result<T> |
ResultFactory.buildSuccess(T t) |
static <T> Result<T> |
ResultFactory.buildSuccess(T t,
String msg) |
static <T> Result<T> |
ResultFactory.paramError(T t,
String msg) |
static <T> Result<T> |
ResultFactory.serverError(String msg) |
Copyright © 2020. All rights reserved.