Code example for ClientProtocolException

Methods: getMessage

0
			{ 
				// execute request 
				r = h.execute(httpGet);
			} catch (ClientProtocolException e1)
			{ 
				Log.d("APP", e1.getMessage());
			} catch (IOException e1)
			{ 
				Log.d("APP", e1.getMessage());
			} 
			try 
			{ 
				return EntityUtils.toString(r.getEntity());
			} catch (ParseException e)
			{ 
				Log.d("ERROR", e.getMessage());
			} catch (IOException e)
			{ 
				Log.d("ERROR", e.getMessage());
			} 
			return null;