Package org.apache.http.conn
Class HttpHostConnectException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
java.net.SocketException
java.net.ConnectException
org.apache.http.conn.HttpHostConnectException
- All Implemented Interfaces:
Serializable
A
ConnectException
that specifies the HttpHost
that was
being connected to.- Since:
- 4.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionHttpHostConnectException
(IOException cause, org.apache.http.HttpHost host, InetAddress... remoteAddresses) Creates a HttpHostConnectException based on originalIOException
.HttpHostConnectException
(org.apache.http.HttpHost host, ConnectException cause) Deprecated. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
HttpHostConnectException
-
HttpHostConnectException
public HttpHostConnectException(IOException cause, org.apache.http.HttpHost host, InetAddress... remoteAddresses) Creates a HttpHostConnectException based on originalIOException
.- Since:
- 4.3
-
-
Method Details
-
getHost
public org.apache.http.HttpHost getHost()
-
HttpHostConnectException(java.io.IOException, org.apache.http.HttpHost, java.net.InetAddress...)