Constructs an EnumConstantNotPresentException for the specified constant.paramenumType the type of the missing enum constantparamconstantName the name of the missing enum constant super(enumType.getName() + "." + constantName); this.enumType = enumType; this.constantName = constantName;
super(enumType.getName() + "." + constantName); this.enumType = enumType; this.constantName = constantName;
Returns the name of the missing enum constant.returnthe name of the missing enum constant return constantName;
return constantName;
Returns the type of the missing enum constant.returnthe type of the missing enum constant return enumType;
return enumType;