Thrown when an enum constant name passed to Enum.valueOf does not correspond to any constant of the enum type.
EnumConstantNotPresentException
java Thrown when an enum constant name passed to Enum.valueOf does not correspond to any constant of the enum type.