org.apache.http.client

## Class HttpResponseException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - java.io.IOException
      - - org.apache.http.client.ClientProtocolException
        - - org.apache.http.client.HttpResponseException

- All Implemented Interfaces:
    Serializable

      public class HttpResponseException
      extends ClientProtocolException

  发出非2xx HTTP响应。
  从以下版本开始：
    4
  另请参见：
    Serialized Form

- - ### 构造方法摘要

    构造方法
    Constructor and Description
    `HttpResponseException(int statusCode, String s)`

  - ### 方法摘要

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `getStatusCode()`

    - ### 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`

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

    - #### HttpResponseException

          public HttpResponseException(int statusCode,
                               String s)

  - ### 方法详细信息

    - #### getStatusCode

          public int getStatusCode()

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

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