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