equal
deleted
inserted
replaced
86 } catch (Exception ignore) { |
86 } catch (Exception ignore) { |
87 } |
87 } |
88 } |
88 } |
89 }; |
89 }; |
90 Thread t = new Thread(r); |
90 Thread t = new Thread(r); |
|
91 t.setUncaughtExceptionHandler(new Thread.UncaughtExceptionHandler() { |
|
92 public void uncaughtException(Thread t, Throwable e) { |
|
93 e.printStackTrace(); |
|
94 } |
|
95 }); |
91 t.start(); |
96 t.start(); |
92 try { t.join(); } catch (InterruptedException ignore) { } |
97 try { t.join(); } catch (InterruptedException ignore) { } |
93 } |
98 } |
94 } |
99 } |