Java tutorial
//package com.java2s; import java.util.logging.Logger; public class Main { public static void Sleep(long l, Logger log) { try { Thread.sleep(l); } catch (InterruptedException e) { log.info("Impossible to terminate Thread\n"); return; } } }