Code example for MalformedURLException

Methods: toString

0
			URL iconUrl = new URL(orig.getProtocol(), orig.getHost(),
					orig.getPort(), "/favicon.ico");
					 
			return iconUrl;
		} catch (MalformedURLException e) {
			Log.d(TAG, "Exception caught: " + e.toString());
			return null; 
		} 
	} 
	 
	private void addChannel() { 
		final String url = mUrlText.getText().toString();
		 
		mBusy = ProgressDialog.show(ChannelAdd.this, "Downloading",
			"Accessing XML Feed...", true, false); 
			 
		Thread t = new Thread() {
			public void run() { 
				try { 
					PostListParser parser = new PostListParser(getContentResolver());