| 程序包 | 说明 |
|---|---|
| org.joyqueue.handler.error | |
| org.joyqueue.handler.routing.command | |
| org.joyqueue.handler.util |
| 限定符和类型 | 方法和说明 |
|---|---|
static ErrorCode |
ErrorCode.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static ErrorCode[] |
ErrorCode.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
| 构造器和说明 |
|---|
ConfigException(ErrorCode code) |
ConfigException(ErrorCode code,
String message) |
ConfigException(ErrorCode code,
Throwable throwable) |
| 限定符和类型 | 方法和说明 |
|---|---|
ErrorCode |
NsrCommandSupport.addErrorCode() |
ErrorCode |
CommandSupport.addErrorCode() |
ErrorCode |
NsrCommandSupport.deleteErrorCode() |
ErrorCode |
CommandSupport.deleteErrorCode() |
ErrorCode |
NsrCommandSupport.getErrorCode() |
ErrorCode |
CommandSupport.getErrorCode() |
ErrorCode |
NsrCommandSupport.updateErrorCode() |
ErrorCode |
CommandSupport.updateErrorCode() |
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
ExceptionUtils.checkArgument(boolean expression,
ErrorCode errorCode)
Ensures the truth of an expression involving one or more parameters to the calling method.
|
static void |
ExceptionUtils.checkArgument(boolean expression,
ErrorCode errorCode,
Object errorMessage)
Ensures the truth of an expression involving one or more parameters to the calling method.
|
Copyright © 2020 Joyqueue Community. All rights reserved.