Code example for SocketException

Methods: printStackTrace

0
						page.getAdditionalParams(), page.getQuery()); 
				MyApplication.transportCache = jsonContent;
				return jsonContent;
			} 
		} catch (SocketException e){
			e.printStackTrace();
			cancel(true); 
			new TrainTask(page,toDestroyPageAfterFailure,dialogEnabled).execute(); 
		}catch (UnknownHostException e) {
			e.printStackTrace();
			unknownHostException = true; 
		} catch (JSONException e) {
			e.printStackTrace();
			jsonException = true; 
		} catch (IOException e) {
			e.printStackTrace();
			ioException = true; 
		} catch (ParseException e) {
			e.printStackTrace();
			parseException = true; 
		}