diff options
Diffstat (limited to 'vespa-http-client/src/main/java/com/yahoo/vespa/http/client/FeedEndpointException.java')
-rw-r--r-- | vespa-http-client/src/main/java/com/yahoo/vespa/http/client/FeedEndpointException.java | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/vespa-http-client/src/main/java/com/yahoo/vespa/http/client/FeedEndpointException.java b/vespa-http-client/src/main/java/com/yahoo/vespa/http/client/FeedEndpointException.java deleted file mode 100644 index 304e2ea321b..00000000000 --- a/vespa-http-client/src/main/java/com/yahoo/vespa/http/client/FeedEndpointException.java +++ /dev/null @@ -1,28 +0,0 @@ -// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. -package com.yahoo.vespa.http.client; - -import com.yahoo.vespa.http.client.config.Endpoint; - -/** - * An exception type for endpoint specific errors. - * - * @see FeedConnectException - * @see FeedProtocolException - * @author bjorncs - * @deprecated Vespa-http-client will be removed in Vespa 8. It's replaced by <a href="https://docs.vespa.ai/en/vespa-feed-client.html">vespa-feed-client</a> - */ -@Deprecated -public abstract class FeedEndpointException extends RuntimeException { - - private final Endpoint endpoint; - - protected FeedEndpointException(String message, Throwable cause, Endpoint endpoint) { - super(message, cause); - this.endpoint = endpoint; - } - - public Endpoint getEndpoint() { - return endpoint; - } - -} |