| Package | Description |
|---|---|
| win.doyto.query.web.component | |
| win.doyto.query.web.response |
| Modifier and Type | Method and Description |
|---|---|
ErrorCode |
ErrorCodeI18nService.buildErrorCode(ErrorCode errorCode,
Object... args) |
| Modifier and Type | Method and Description |
|---|---|
ErrorCode |
ErrorCodeI18nService.buildErrorCode(ErrorCode errorCode,
Object... args) |
| Modifier and Type | Class and Description |
|---|---|
class |
ErrorResponse
返回给移动客户端的JSON对象的结构
|
class |
JsonResponse<T>
返回给移动客户端的JSON对象的结构
|
class |
PresetErrorCode
PresetErrorCode
|
| Modifier and Type | Method and Description |
|---|---|
static ErrorCode |
ErrorCode.build(ErrorCode errorCode) |
static ErrorCode |
ErrorCode.build(Integer code,
String message) |
static ErrorCode |
ErrorCode.build(String message) |
ErrorCode |
ErrorCodeException.getErrorCode() |
| Modifier and Type | Method and Description |
|---|---|
static void |
ErrorCode.assertFalse(boolean condition,
ErrorCode errorCode,
Object... messages) |
static void |
ErrorCode.assertNotNull(Object target,
ErrorCode errorCode,
Object... messages) |
static void |
ErrorCode.assertTrue(boolean condition,
ErrorCode errorCode,
Object... messages) |
static ErrorCode |
ErrorCode.build(ErrorCode errorCode) |
static void |
ErrorCode.fail(ErrorCode errorCode,
Object... messages) |
void |
ErrorResponse.setErrorCode(ErrorCode errorCode) |
| Constructor and Description |
|---|
ErrorCodeException(ErrorCode errorCode) |
ErrorResponse(ErrorCode errorCode,
org.springframework.validation.BindingResult bindingResult) |
ErrorResponse(ErrorCode errorCode,
List<org.springframework.validation.BindingResult> bindingResults) |
ErrorResponse(ErrorCode errorCode,
Set<javax.validation.ConstraintViolation<?>> constraintViolations) |
Copyright © 2022 DOYToWin. All rights reserved.