diff --git a/core/src/main/java/jenkins/model/Jenkins.java b/core/src/main/java/jenkins/model/Jenkins.java index 458440fd96a2a5321f63eb34e68e1814a393e97e..e7caf609fc35283f8ed892add0577432931028fe 100644 --- a/core/src/main/java/jenkins/model/Jenkins.java +++ b/core/src/main/java/jenkins/model/Jenkins.java @@ -3836,10 +3836,10 @@ public class Jenkins extends AbstractCIBase implements DirectlyModifiableTopLeve } @RequirePOST - public synchronized HttpRedirect doQuietDown() throws IOException { + public synchronized HttpRedirect doQuietDown() { try { return doQuietDown(false,0); - } catch (InterruptedException e) { + } catch (IOException | InterruptedException e) { throw new AssertionError(); // impossible } }