From 8cefaba2a46ff2e84c02abc3b4e1ad924eee4784 Mon Sep 17 00:00:00 2001 From: Simone Bordet Date: Thu, 27 Oct 2016 15:43:12 +0200 Subject: [PATCH] Allow process() to throw Throwable, which we catch anyway. --- .../main/java/org/eclipse/jetty/util/IteratingCallback.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jetty-util/src/main/java/org/eclipse/jetty/util/IteratingCallback.java b/jetty-util/src/main/java/org/eclipse/jetty/util/IteratingCallback.java index b04a93d7631..9d7581e4725 100644 --- a/jetty-util/src/main/java/org/eclipse/jetty/util/IteratingCallback.java +++ b/jetty-util/src/main/java/org/eclipse/jetty/util/IteratingCallback.java @@ -156,9 +156,9 @@ public abstract class IteratingCallback implements Callback * * @return the appropriate Action * - * @throws Exception if the sub task processing throws + * @throws Throwable if the sub task processing throws */ - protected abstract Action process() throws Exception; + protected abstract Action process() throws Throwable; /** * Invoked when the overall task has completed successfully.