public final static URL getMbArtistUrl(String artist) 
			throws MusicbrainzUrlException {
		
		if(artist == null || artist.equals(""))
			throw new MusicbrainzUrlException("The artist is null or empty");
		
		URL url= null;
		URI uri= null;
	
		try {
			
			//In case of more than one matches, only the first one (with high score) is got. (&limit=1)
			uri= new URI("http","www.musicbrainz.org",
						"/ws/2/artist/", 
						"query=artist:\""+artist+"\"&limit=1", 
						null);
			
			if(uri != null)
				url= uri.toURL();
			
		} catch (URISyntaxException e) {
			throw new MusicbrainzUrlException("URISyntaxException "+e.getMessage(), e);
		} catch (MalformedURLException e) {
			throw new MusicbrainzUrlException("MalformedURLException "+e.getMessage(), e);
		} catch (Exception e) {
			throw new MusicbrainzUrlException("Exception "+e.getMessage(), e);
		}
		
		return url;
	}