public static enum CodecException.CodecError extends Enum<CodecException.CodecError>
| 枚举常量和说明 |
|---|
ANNOTATION_FIELD_NOT_MATCH |
INVALID_COMPRESS_POLICY |
INVALID_ENDIAN_POLICY |
UNSUPPORTED_TYPE |
| 限定符和类型 | 方法和说明 |
|---|---|
static CodecException.CodecError |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static CodecException.CodecError[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final CodecException.CodecError INVALID_ENDIAN_POLICY
public static final CodecException.CodecError INVALID_COMPRESS_POLICY
public static final CodecException.CodecError ANNOTATION_FIELD_NOT_MATCH
public static final CodecException.CodecError UNSUPPORTED_TYPE
String message
public static CodecException.CodecError[] values()
for (CodecException.CodecError c : CodecException.CodecError.values()) System.out.println(c);
public static CodecException.CodecError valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值Copyright © 2018–2021 Industrial Internet. All rights reserved.