/*
 * Created on Dec 18, 2004
 *
 * TODO To change the template for this generated file go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
package com.prolixtech.utils;

/**
 * @author Constantinos Michael
 * 
 */
public class Suspender {

    public static void suspendSeconds(int seconds) {
        suspendMillis(seconds * 1000);
    }

    public static void suspendMillis(long milliseconds) {
        try {
            Thread.sleep(milliseconds);
        } catch (Exception e) {
            SingletonLogger.Instance().exception("SLEEPER UNABLE TO SLEEP", e);
        }
    }
    
    

}
