Code example for ConnectTimeoutException

Methods: printStackTrace

0
			} 
			 
			 
		} catch (ConnectTimeoutException e) {
			Toast.makeText(SimpleBusActivity.this, "Search Error", Toast.LENGTH_SHORT).show();
			e.printStackTrace();
		} catch (JSONException e) {
			Toast.makeText(SimpleBusActivity.this, "JSON Error", Toast.LENGTH_SHORT).show();
			e.printStackTrace();
		} 
    } 
}