input = url.openStream();
} catch (IOException e) {
// getStorageConfigURL should have ruled this out
throw new AssertionError(e);
}
Constructor constructor = new Constructor(CassandraConfig.class);
TypeDescription seedDesc = new TypeDescription(SeedProviderDef.class);
seedDesc.putMapPropertyType("parameters", String.class, String.class);
constructor.addTypeDescription(seedDesc);
Yaml yaml = new Yaml(constructor);
config = (CassandraConfig) yaml.load(input);
} catch (YAMLException e) {
throw new ConfigurationException("Invalid yaml", e);
} finally {