201 |
if (openConnection instanceof HttpURLConnection) { |
if (openConnection instanceof HttpURLConnection) { |
202 |
HttpURLConnection httpconnection = ((HttpURLConnection) openConnection); |
HttpURLConnection httpconnection = ((HttpURLConnection) openConnection); |
203 |
if (httpconnection.getResponseCode() != 200) { |
if (httpconnection.getResponseCode() != 200) { |
204 |
log.error("se returned ResponseCode " |
log.error(se + " returned ResponseCode " |
205 |
+ httpconnection.getResponseCode() |
+ httpconnection.getResponseCode() |
206 |
+ " for " + urlToSitemap); |
+ " for " + urlToSitemap); |
207 |
} |
} |