private void verifyStructMap(String id) {
    	if ( ! structMapDefs.containsKey(id))
            throw new IllegalArgumentException("No such struct map in " + verifyWarning(id));
	}
Throws if the given value is not legal.
config/src/main/java/com/yahoo/vespa/config/ConfigDefinition.java