public static void sleep(long ms){
  try {
    Thread.sleep(ms);
  }
 catch (  InterruptedException iex) {
  }
}

public static void sleep ( long ms ) { try { Thread . sleep ( ms ) ; } catch ( InterruptedException iex ) { } }
puts a thread to sleep , without throwing an interruptedexception .
