public void setValue(String value) {
   try {
     this.value = getEntry(value, values);
   } catch (KLMSEnumUndefinedKeyException e) {
     e.printStackTrace();
   }
 }
 public EnumPutFunction(String key) {
   try {
     this.value = getEntry(key, values);
   } catch (KLMSEnumUndefinedKeyException e) {
     e.printStackTrace();
   }
 }