blob: b696864749c16dc85dd7a15a4657cc11ed38bfdd (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
// 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
*/
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;
}
}
|