| 程序包 | 说明 |
|---|---|
| cn.ponfee.disjob.common.exception | |
| cn.ponfee.disjob.common.model |
| 构造器和说明 |
|---|
BaseException(CodeMsg codeMsg) |
BaseException(CodeMsg codeMsg,
Throwable cause) |
BaseRuntimeException(CodeMsg codeMsg) |
BaseRuntimeException(CodeMsg codeMsg,
Throwable cause) |
| 限定符和类型 | 类和说明 |
|---|---|
class |
Result<T>
Representing the result-data structure
|
static class |
Result.ImmutableResult<T>
Immutable result
|
| 限定符和类型 | 方法和说明 |
|---|---|
static <T> Result<T> |
Result.failure(CodeMsg cm) |
static <T> Result<T> |
Result.of(CodeMsg cm) |
static <T> Result<T> |
Result.of(CodeMsg cm,
T data) |
Copyright © 2024. All rights reserved.