GP-1173 - fixed bad exception message

Closes #3246
This commit is contained in:
dragonmacher 2021-07-30 15:19:06 -04:00
parent 3009ba9e87
commit e9ebb47626

View File

@ -115,7 +115,7 @@ public class EnumDataType extends GenericDataType implements Enum {
bitGroups = null;
checkValue(value);
if (nameMap.containsKey(valueName)) {
throw new IllegalArgumentException(name + " already exists in this enum");
throw new IllegalArgumentException(valueName + " already exists in this enum");
}
nameMap.put(valueName, value);
List<String> list = valueMap.get(value);