| java.lang.Object | |||
| ↳ | java.lang.Throwable | ||
| ↳ | java.lang.Exception | ||
| ↳ | chan.http.HttpException | ||
Thrown by HTTP client and ChanPerformer methods.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Constructor for a | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new instance of | |||||||||||
Returns response code. | |||||||||||
Returns whether exception is HTTP protocol exception. | |||||||||||
Returns whether exception is socket level exception. | |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Throwable
| |||||||||||
From class
java.lang.Object
| |||||||||||
Constructor for a HttpException with response code and message.
| Parameters | |
|---|---|
responseCode |
int:
Response code. |
responseText |
String:
Response message.
|
Creates a new instance of HttpException with 404 (Not Found) response code and
an appropriate message.
| Returns | |
|---|---|
HttpException |
Exception object. |
Returns response code.
| Returns | |
|---|---|
int |
Response code. |
Returns whether exception is HTTP protocol exception.
| Returns | |
|---|---|
boolean |
|
Returns whether exception is socket level exception.
| Returns | |
|---|---|
boolean |
|