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.