System.err.println("URL invalid: " + urlstr);
Debug.err("URL invalid: " + urlstr);
	public static String fetchDataFromURL(String urlstr, String postdata)			throws WrongPasswordException, IOException {		URL url = null;		URLConnection urlConn;		DataOutputStream printout;		String data = "";		boolean wrong_pass = false;		try {			url = new URL(urlstr);		} catch (MalformedURLException e) {			System.err.println("URL invalid: " + urlstr);			throw new WrongPasswordException("URL invalid: " + urlstr);		}		if (url != null) {			urlConn = url.openConnection();			urlConn.setDoInput(true);			urlConn.setDoOutput(true);			urlConn.setUseCaches(false);			// Sending postdata			if (postdata != null) {				urlConn.setRequestProperty("Content-Type",						"application/x-www-form-urlencoded");				printout = new DataOutputStream(urlConn.getOutputStream());				printout.writeBytes(postdata);				printout.flush();				printout.close();			}			BufferedReader d;			try {				// Get response data				d = new BufferedReader(new InputStreamReader(urlConn						.getInputStream()));				int i = 0;				String str;				while (null != ((str = d.readLine()))) {					// Password seems to be wrong					if (str.contains("FEHLER:&nbsp;Das angegebene Kennwort "))						wrong_pass = true;					// Skip a few lines					//if (i > 778)					data += str;					i++;				}				d.close();			} catch (IOException e1) {				throw new IOException("Network unavailable");			}			if (wrong_pass)				throw new WrongPasswordException("Password invalid");		}		return data;	}