Code example for UnknownHostException

Methods: printStackTrace

0
		} 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; 
		} 
		return null; 
	} 
	 
}