Enum Class OpenJsonProcessingException.ErrorType
java.lang.Object
java.lang.Enum<OpenJsonProcessingException.ErrorType>
cloud.opencode.base.json.exception.OpenJsonProcessingException.ErrorType
- All Implemented Interfaces:
Serializable, Comparable<OpenJsonProcessingException.ErrorType>, Constable
- Enclosing class:
OpenJsonProcessingException
public static enum OpenJsonProcessingException.ErrorType
extends Enum<OpenJsonProcessingException.ErrorType>
Error type enumeration
错误类型枚举
- Since:
- JDK 25, opencode-base-json V1.0.0
- Author:
- Leon Soo www.LeonSoo.com
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionConfiguration error - 配置错误Deserialization error - 反序列化错误IO error - IO错误Parsing error - 解析错误Path evaluation error - 路径求值错误Serialization error - 序列化错误Type conversion error - 类型转换错误Unknown error - 未知错误 -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PARSE_ERROR
Parsing error - 解析错误 -
SERIALIZATION_ERROR
Serialization error - 序列化错误 -
DESERIALIZATION_ERROR
Deserialization error - 反序列化错误 -
TYPE_CONVERSION_ERROR
Type conversion error - 类型转换错误 -
PATH_ERROR
Path evaluation error - 路径求值错误 -
IO_ERROR
IO error - IO错误 -
CONFIG_ERROR
Configuration error - 配置错误 -
UNKNOWN
Unknown error - 未知错误
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-