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

      public class HttpHostConnectException
      extends ConnectException

  A `ConnectException`指定正在连接的`HttpHost` 。
  从以下版本开始：
    4
  另请参见：
    Serialized Form

- - ### 构造方法摘要

    构造方法
    Constructor and Description
    `HttpHostConnectException(HttpHost host, ConnectException cause)` 已过时。 （4.3）使用`HttpHostConnectException(java.io.IOException, org.apache.http.HttpHost, java.net.InetAddress...)`
    `HttpHostConnectException(IOException cause, HttpHost host, InetAddress... remoteAddresses)` 基于原始的`IOException`创建HttpHostConnectException 。

  - ### 方法摘要

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `HttpHost` | `getHost()`

    - ### Methods inherited from class java.lang.Throwable

      `addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### 构造方法详细信息

    - #### HttpHostConnectException

          @Deprecated
          public HttpHostConnectException(HttpHost host,
                                             ConnectException cause)

      已过时。 （4.3）使用`HttpHostConnectException(java.io.IOException, org.apache.http.HttpHost, java.net.InetAddress...)`

    - #### HttpHostConnectException

          public HttpHostConnectException(IOException cause,
                                  HttpHost host,
                                  InetAddress... remoteAddresses)

      基于原始的`IOException`创建一个HttpHostConnectException 。
      从以下版本开始：
        4.3

  - ### 方法详细信息

    - #### getHost

          public HttpHost getHost()

Copyright © 1999–2017 The Apache Software Foundation. All rights reserved.

本帮助文档是使用 《谷歌翻译》翻译，请与英文版配合使用 by--QQ:654638585