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