Code example for URISyntaxException

Methods: getMessage

		// Result tuple is in the format: peer - file 
		try { 
			sandwichClient.startFileDownloadFromPeer(resultTuple[0], resultTuple[1]);
		} catch (URISyntaxException e) {
			Dialog.displayDialog(activity, "Download Error", e.getMessage(), false);
	// Called in UI thread to add search result 
	public void run() { 
		ArrayAdapter<String> listAdapter = (ArrayAdapter<String>)resultsView.getAdapter();
		synchronized (results) {
			for (String result : results)
Stop searching for code, let great code find you!  Add Codota to your java IDE