void sleep(long millis){
  try {
    Thread.sleep(millis);
  }
 catch (  InterruptedException ie) {
    AssertionFailedError afe=new AssertionFailedError("Unexpected InterruptedException");
    afe.initCause(ie);
    throw afe;
  }
}

void sleep ( long millis ) { try { Thread . sleep ( millis ) ; } catch ( InterruptedException ie ) { AssertionFailedError afe = new AssertionFailedError ( "Unexpected InterruptedException" ) ; afe . initCause ( ie ) ; throw afe ; } }
sleeps until the given time has elapsed . throws assertionfailederror if interrupted .
