Code example for TimeoutException

Methods: printStackTrace

0
			} catch (InterruptedException e) {
				e.printStackTrace();
			} catch (IOException e) {
				e.printStackTrace();
			} catch (TimeoutException e) {
				e.printStackTrace();
			} catch (RootDeniedException e) {
				e.printStackTrace();
			} 
			return null; 
			 
		} 
		 
		public void onPostExecute(Void unused){
			progress.dismiss();
			Intent i = new Intent(Remove.this, Removed.class);
			startActivity(i);
			finish();
		} 
		 
		}