public class HttpHostConnectException extends ConnectException
ConnectException
that specifies the HttpHost
that was
being connected to.Constructor and Description |
---|
HttpHostConnectException(org.apache.http.HttpHost host,
ConnectException cause)
|
HttpHostConnectException(IOException cause,
org.apache.http.HttpHost host,
InetAddress... remoteAddresses)
Creates a HttpHostConnectException based on original
IOException . |
Modifier and Type | Method and Description |
---|---|
org.apache.http.HttpHost |
getHost() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
@Deprecated public HttpHostConnectException(org.apache.http.HttpHost host, ConnectException cause)
public HttpHostConnectException(IOException cause, org.apache.http.HttpHost host, InetAddress... remoteAddresses)
IOException
.Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.