Java tutorial
//package com.java2s; public class Main { public static void sleepWithoutInterruptions(long milliseconds) { try { Thread.sleep(milliseconds); } catch (final InterruptedException e) { throw new IllegalStateException(e); } } }