Here you can find the source of sleepWithoutInterruptions(long milliseconds)
public static void sleepWithoutInterruptions(long milliseconds)
//package com.java2s; public class Main { public static void sleepWithoutInterruptions(long milliseconds) { try {//from w ww . j a v a2 s . c o m Thread.sleep(milliseconds); } catch (final InterruptedException e) { throw new IllegalStateException(e); } } }