Code example for ConnectTimeoutException

Methods: printStackTrace

0
	            se.setContentType(new BasicHeader(HTTP.CONTENT_TYPE, "application/json"));
	            request.setEntity(se);
				HttpResponse response = client.execute(request);
			} catch (ConnectTimeoutException e) {
				cool = false;
				e.printStackTrace();
			} catch (JSONException e) {
				// TODO Auto-generated catch block 
				cool = false;
				e.printStackTrace();
			} catch (UnsupportedEncodingException e) {
				// TODO Auto-generated catch block 
				cool = false;
				e.printStackTrace();
			} catch (ClientProtocolException e1) {
				// TODO Auto-generated catch block 
				cool = false;
				e1.printStackTrace();
			} catch (IOException e1) {
				// TODO Auto-generated catch block 
				cool = false;