Module module = moduleLoader.loadModule(moduleIdentifier);
return new ClassLoaderHolderImpl(module);
} catch (ModuleNotFoundException e) {
String spec = e.getMessage().replace(':', '/');
final CeylonRuntimeException cre = new CeylonRuntimeException("Could not find module: " + spec + " (invalid version?)");
cre.initCause(e);
throw cre;
}
}
private Set<String> getVersions(String name, Configuration conf, boolean offline) {