Java tutorial
//package com.java2s; public class Main { public static void join(Thread thread) { try { thread.join(); } catch (InterruptedException inex) { // ignore } } public static void join(Thread thread, long millis) { try { thread.join(millis); } catch (InterruptedException inex) { // ignore } } public static void join(Thread thread, long millis, int nanos) { try { thread.join(millis, nanos); } catch (InterruptedException inex) { // ignore } } }