} else if (baseMessage.getKey() == null) {
throw new ConfigException("No key for message in validator '" + name + "' in '" + toInlineString() + "'");
}
Iterator args = message.getArgConfigs();
while (args.hasNext()) {
ArgConfig arg = (ArgConfig)args.next();
if (arg.getName() == null) {
throw new ConfigException("Missing name for argument '" + arg + "' in '" + toInlineString() + "'");
} else if (baseMessage.getArgConfig(arg.getName()) == null) {
throw new ConfigException("No argument with name '" + arg.getName() + "' in base message of validator '" + name + "' in '" + toInlineString() + "'");
}
}
}
// make sure that all properties exist and are not final
Iterator propertyConfigs = getPropertyConfigs();