handler.getDependencyCollector().add(targetKey, data.getVersion(manager));
return createResource(targetKey, handler, createdProduct);
}
catch (ParserConfigurationException e)
{
throw new ResourceCreationException
("Unable to initialize the XML-Parser", e);
}
catch (SAXException e)
{
throw new ResourceCreationException("Unable to parse the document", e);
}
catch (IOException e)
{
throw new ResourceLoadingException("Unable to read the stream", e);
}