This is an automated email from the ASF dual-hosted git repository. orpiske pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git
commit 5c0bdead12f8bd46d24791fa551d21a744ba4ac0 Author: Otavio Rodolfo Piske <[email protected]> AuthorDate: Fri Jun 9 14:51:32 2023 +0200 (chores) core: remove declared exceptions which are never thrown in private inner classes --- .../java/org/apache/camel/throttling/ThrottlingInflightRoutePolicy.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/camel-support/src/main/java/org/apache/camel/throttling/ThrottlingInflightRoutePolicy.java b/core/camel-support/src/main/java/org/apache/camel/throttling/ThrottlingInflightRoutePolicy.java index 7424d2a7b1a..f979d92b205 100644 --- a/core/camel-support/src/main/java/org/apache/camel/throttling/ThrottlingInflightRoutePolicy.java +++ b/core/camel-support/src/main/java/org/apache/camel/throttling/ThrottlingInflightRoutePolicy.java @@ -288,7 +288,7 @@ public class ThrottlingInflightRoutePolicy extends RoutePolicySupport implements private class ContextScopedEventNotifier extends EventNotifierSupport { @Override - public void notify(CamelEvent event) throws Exception { + public void notify(CamelEvent event) { ExchangeCompletedEvent completedEvent = (ExchangeCompletedEvent) event; for (Route route : routes) { throttle(route, completedEvent.getExchange());
