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();
			} 
		}catch (InterruptedException e){
			e.printStackTrace();
		} 
		handler.sendEmptyMessage(0);
	} 
	 
	private static Handler handler = new Handler() {
		@Override 
		public void handleMessage(Message msg) { 
		} 
	};