Serializablepublic class EnumConstantNotPresentException extends RuntimeException
AnnotatedElement,
序列化表格| 构造器 | 说明 |
|---|---|
EnumConstantNotPresentException(Class<? extends Enum> enumType,
String constantName) |
Constructs an EnumConstantNotPresentException for the
specified constant.
|
public EnumConstantNotPresentException(Class<? extends Enum> enumType, String constantName)
enumType - the type of the missing enum constantconstantName - the name of the missing enum constant