class Maven {

    public String findMavenIdFrom(String pomUrl) throws MavenIdNotFoundException {
        try {
            Document document = documentLoader.loadFromUrl(pomUrl);
            return findMavenId(document);
        } catch (DocumentNotLoadedException e) {
            throw new MavenIdNotFoundException("Can't find pom at " + pomUrl, e);
        }
    }

}