mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-17 05:52:26 +00:00
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
This commit is contained in:
1 parent
dcfff1e556
commit
dc6db9328b
1 file changed
+1
-1
@@ -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());
|
||||
}
|
||||
Reference in new issue
Block a user