private SingleEnumTerm<T> add(ISimpleTerm<?> term, UUID uuid, String defaultString, String key, ISimpleTerm<?> parent) {\r
SingleEnumTerm<T> singleTerm = new SingleEnumTerm<T>((T)term, uuid, defaultString, key, (T)parent);\r
if (containsKey(lookup, key)){\r
- throw new RuntimeException(String.format("Key must be unique in TermType but was not for '%s'", key));\r
+ throw new RuntimeException(String.format("Key must be unique in enumeration but was not for '%s'", key));\r
}\r
if (containsUuid(lookup, uuid)){\r
- throw new RuntimeException(String.format("UUID must be unique in TermType but was not for '%s'", uuid));\r
+ throw new RuntimeException(String.format("UUID must be unique in enumeration but was not for '%s'", uuid));\r
}\r
lookup.put((T)term, singleTerm);\r
return singleTerm;\r