| 程序包 | 说明 |
|---|---|
| org.jetlinks.core.enums | |
| org.jetlinks.core.exception | |
| org.jetlinks.core.message |
| 限定符和类型 | 方法和说明 |
|---|---|
static ErrorCode |
ErrorCode.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static ErrorCode[] |
ErrorCode.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
| 限定符和类型 | 方法和说明 |
|---|---|
static Optional<ErrorCode> |
ErrorCode.of(String code) |
| 构造器和说明 |
|---|
DeviceOperationException(ErrorCode errorCode) |
DeviceOperationException(ErrorCode code,
String message) |
DeviceOperationException(ErrorCode errorCode,
Throwable cause) |
| 限定符和类型 | 方法和说明 |
|---|---|
SELF |
CommonThingMessageReply.error(ErrorCode errorCode) |
ThingMessageReply |
ThingMessageReply.error(ErrorCode errorCode) |
ChildDeviceMessageReply |
ChildDeviceMessageReply.error(ErrorCode errorCode) |
DeviceMessageReply |
DeviceMessageReply.error(ErrorCode errorCode) |
ME |
CommonDeviceMessageReply.error(ErrorCode errorCode) |
Copyright © 2019–2022. All rights reserved.