org.apache.http.conn
Class HttpHostConnectException
java.lang.Object
   java.lang.Throwable
java.lang.Throwable
       java.lang.Exception
java.lang.Exception
           java.io.IOException
java.io.IOException
               java.net.SocketException
java.net.SocketException
                   java.net.ConnectException
java.net.ConnectException
                       org.apache.http.conn.HttpHostConnectException
org.apache.http.conn.HttpHostConnectException
- All Implemented Interfaces: 
- Serializable
- public class HttpHostConnectException 
- extends ConnectException
A ConnectException that specifies the HttpHost that was
 being connected to.
- Since:
- 4.0
- See Also:
- Serialized Form
 
| Method Summary | 
|  org.apache.http.HttpHost | getHost()
 | 
 
| Methods inherited from class java.lang.Throwable | 
| fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString | 
 
 
HttpHostConnectException
@Deprecated
public HttpHostConnectException(org.apache.http.HttpHost host,
                                           ConnectException cause)
- Deprecated. (4.3) use HttpHostConnectException(java.io.IOException, org.apache.http.HttpHost,
   java.net.InetAddress...)
 
HttpHostConnectException
public HttpHostConnectException(IOException cause,
                                org.apache.http.HttpHost host,
                                InetAddress... remoteAddresses)
- Creates a HttpHostConnectException based on original IOException.
 
- Since:
- 4.3
 
getHost
public org.apache.http.HttpHost getHost()
- 
 
Copyright © 1999–2020 The Apache Software Foundation. All rights reserved.