From dc6db9328b093a91441233db7a687af3ef5b8b4e Mon Sep 17 00:00:00 2001 From: kohsuke Date: Tue, 19 Jan 2010 18:50:04 +0000 Subject: [PATCH] allow arbitrary exception. The whole point of this class is to deal gracefully with a problem, so we might just as well let the subtypes knowingly throw them. git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@26100 71c3de6d-444a-0410-be80-ed276b4c234a --- core/src/main/java/hudson/triggers/SafeTimerTask.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/hudson/triggers/SafeTimerTask.java b/core/src/main/java/hudson/triggers/SafeTimerTask.java index b1f94f09d0..a331c4e089 100644 --- a/core/src/main/java/hudson/triggers/SafeTimerTask.java +++ b/core/src/main/java/hudson/triggers/SafeTimerTask.java @@ -59,7 +59,7 @@ public abstract class SafeTimerTask extends TimerTask { } } - protected abstract void doRun(); + protected abstract void doRun() throws Exception; private static final Logger LOGGER = Logger.getLogger(SafeTimerTask.class.getName()); }