public static void sleep ( final long ms ) { try { Thread . sleep ( ms ) ; } catch ( InterruptedException iex ) { Thread . currentThread ( ) . interrupt ( ) ; } }
Puts a thread to sleep without throwing an InterruptedException .