java.lang.reflect.AnnotatedElement
Modifier and Type | Field and Description |
---|---|
private String | constantName
The name of the missing enum constant. |
private Class | enumType
The type of the missing enum constant. |
private static final long |
Access | Constructor and Description |
---|---|
public | EnumConstantNotPresentException(Class<? extends Enum<E extends Enum<E>>>
the type of the missing enum constant enumType, String the name of the missing enum constant constantName)Constructs an |
Modifier and Type | Method and Description |
---|---|
public String | Returns: the name of the missing enum constantReturns the name of the missing enum constant. |
public Class | Returns: the type of the missing enum constantReturns the type of the missing enum constant. |
constantName | back to summary |
---|---|
private String constantName The name of the missing enum constant. |
enumType | back to summary |
---|---|
private Class<? extends Enum<E extends Enum<E>>> enumType The type of the missing enum constant. |
serialVersionUID | back to summary |
---|---|
private static final long serialVersionUID Hides java. |
EnumConstantNotPresentException | back to summary |
---|---|
public EnumConstantNotPresentException(Class<? extends Enum<E extends Enum<E>>> enumType, String constantName) Constructs an |
constantName | back to summary |
---|---|
public String constantName() Returns the name of the missing enum constant.
|
enumType | back to summary |
---|---|
public Class Returns the type of the missing enum constant. |