public static void sleep(){
  try {
    Thread.sleep(TestSettings.RESPONSE_WAIT);
  }
 catch (  InterruptedException e) {
  }
}

public static void sleep ( ) { try { Thread . sleep ( TestSettings . RESPONSE_WAIT ) ; } catch ( InterruptedException e ) { } }
current thread sleeps for a predefined amount of time . if it has been interrupted , the method would be finished and no exception is thrown .
