diff options
author | Valerij Fredriksen <freva@users.noreply.github.com> | 2022-05-30 09:24:53 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-30 09:24:53 +0200 |
commit | 29bbcf6e2c3cf7133a1109c51d93fedc7e493b97 (patch) | |
tree | f1eb4b6c9c08fc492d9568e7d3296f7b2cc58e16 /vespaclient-container-plugin/src/main/java/com/yahoo/document/restapi/resource | |
parent | 9aebfc50b7f0f967bb68e5e6986bc03afc469bd5 (diff) |
Revert "uncheck() all checked exceptions"
Diffstat (limited to 'vespaclient-container-plugin/src/main/java/com/yahoo/document/restapi/resource')
-rw-r--r-- | vespaclient-container-plugin/src/main/java/com/yahoo/document/restapi/resource/DocumentV1ApiHandler.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vespaclient-container-plugin/src/main/java/com/yahoo/document/restapi/resource/DocumentV1ApiHandler.java b/vespaclient-container-plugin/src/main/java/com/yahoo/document/restapi/resource/DocumentV1ApiHandler.java index 34200a2393d..73bea9f7a00 100644 --- a/vespaclient-container-plugin/src/main/java/com/yahoo/document/restapi/resource/DocumentV1ApiHandler.java +++ b/vespaclient-container-plugin/src/main/java/com/yahoo/document/restapi/resource/DocumentV1ApiHandler.java @@ -3,8 +3,8 @@ package com.yahoo.document.restapi.resource; import com.fasterxml.jackson.core.JsonFactory; import com.fasterxml.jackson.core.JsonGenerator; -import com.yahoo.cloud.config.ClusterListConfig; import com.yahoo.component.annotation.Inject; +import com.yahoo.cloud.config.ClusterListConfig; import com.yahoo.concurrent.DaemonThreadFactory; import com.yahoo.concurrent.SystemTimer; import com.yahoo.container.core.HandlerMetricContextUtil; @@ -69,7 +69,7 @@ import com.yahoo.text.Text; import com.yahoo.vespa.config.content.AllClustersBucketSpacesConfig; import com.yahoo.vespa.http.server.MetricNames; import com.yahoo.yolean.Exceptions; -import com.yahoo.yolean.Exceptions.RunnableThrowingException; +import com.yahoo.yolean.Exceptions.RunnableThrowingIOException; import java.io.ByteArrayOutputStream; import java.io.IOException; @@ -850,7 +850,7 @@ public class DocumentV1ApiHandler extends AbstractRequestHandler { }); } - private static void loggingException(RunnableThrowingException runnable) { + private static void loggingException(RunnableThrowingIOException runnable) { try { runnable.run(); } |