public class XBMCHttpResponseError extends SourceException
Constructor and Description |
---|
XBMCHttpResponseError(java.lang.String message,
int statusCode,
java.net.URL url,
java.lang.String data,
java.lang.Throwable cause)
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
|
printException
public XBMCHttpResponseError(java.lang.String message, int statusCode, java.net.URL url, java.lang.String data, java.lang.Throwable cause)
message
- The messagestatusCode
- The response codeurl
- The URL that caused the problemdata
- The response text from the remote servercause
- The original exception