Java Sleep sleepWithoutInterruptions(long milliseconds)

Here you can find the source of sleepWithoutInterruptions(long milliseconds)

Description

sleep Without Interruptions

License

Open Source License

Declaration

public static void sleepWithoutInterruptions(long milliseconds) 

Method Source Code

//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);
        }
    }
}

Related

  1. sleepUninterruptibly(long msecs)
  2. sleepUntil(long time)
  3. sleepUntil(long timestamp)
  4. sleepUpTo(final long millis)
  5. sleepWithoutInterrupt(final long msToWait)
  6. sleepyMillis(long millis)