private String getCriticalValue(String key, Map<String, String> keyValue)
			throws ElasticException {
		String value = keyValue.get(key);
		if (value == null) {
			throw new ElasticException("Missing critical configuration value: " + key);
		}
		return value;
	}
Given a critical key in the database configuration, return its corresponding value
@param key is the configuration key
@param keyValue is the key/value map
@return the corresponding value
@throws ElasticException if the key is missing
Ghidra/Features/BSim/src/main/java/ghidra/features/bsim/query/elastic/ElasticDatabase.java