docs: private static final <E extends Enum<E>> E validateProperty(Map<String, Object> map, String propName, E defaultVal, Class<E> type, ConnectorService connectorSvc) {
          String strVal = (String) map.remove(propName);
          if (strVal == null)
              return defaultVal;
  
          try {
              return E.valueOf(type, strVal);
          } catch (RuntimeException x) {
              x = connectorSvc.ignoreWarnOrFail(tc, x, x.getClass(), "UNSUPPORTED_VALUE_J2CA8011", strVal, propName, CONNECTION_MANAGER);
              if (x == null)
                  return defaultVal;
              else
                  throw x;
          }
      }