public class HttpConnectionException
extends java.io.IOException
Constructor and Description |
---|
HttpConnectionException(java.lang.String detail,
int responseCode,
java.net.URL urlObj)
Constructs a new
HttpConnectionException with detail message
responseCode and the URL. |
Modifier and Type | Method and Description |
---|---|
java.net.URL |
getURL()
Get the URL.
|
int |
responseCode()
Returns the HTTP response code
|
public HttpConnectionException(java.lang.String detail, int responseCode, java.net.URL urlObj)
HttpConnectionException
with detail message
responseCode and the URL.detail
- the detail message.responseCode
- the HTTP response code from server.urlObj
- the URL.