if (time > 0) { try { Thread.sleep(time); } catch (Exception e) { } sfTerminate(TerminationRecord.normal(name)); } }
if (sfLog().isDebugEnabled()) { sfLog().debug("Timer set:" +time+". Going to sleep "+name);} if (time > 0) { try { Thread.sleep(time);  } catch (Exception ex) { if (abortTimer) return; } String terminationMessage = "Timer '"+time+"' expired. Terminating "+name; if (sfLog().isDebugEnabled()) { sfLog().debug(terminationMessage);} sfTerminate(new TerminationRecord(TerminationRecord.NORMAL, terminationMessage , null)); } }
                    public void run() {                        if (time > 0) {                            try { Thread.sleep(time); } catch (Exception e) { }                            sfTerminate(TerminationRecord.normal(name));                        }                    }