public class HTTPException extends ProtocolException
HTTPException异常表示一个XML / HTTP故障。 
       由于XML / HTTP消息传递中的故障或异常没有标准格式,因此只会捕获HTTP状态代码。
| Constructor and Description | 
|---|
| HTTPException(int statusCode)
              HTTPException的构造方法 
             | 
| Modifier and Type | Method and Description | 
|---|---|
| int | getStatusCode()
              获取HTTP状态代码。 
             | 
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.