public class HttpResponseError
extends java.io.IOException
Constructor and Description |
---|
HttpResponseError(java.lang.String message,
java.net.URL url,
int statusCode,
java.lang.String data)
The constructor
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getData()
Used to get the data
|
int |
getStatusCode()
Used to get the status code
|
java.net.URL |
getUrl()
Used to get the URL
|
public HttpResponseError(java.lang.String message, java.net.URL url, int statusCode, java.lang.String data)
message
- The messagestatusCode
- The response codeurl
- The URL that caused the problemdata
- The response text from the remote server