L
Larry Coon
Quick question -- If I do url processing such as:
try {
URL url = new URI(address).toURL();
InputStream is = url.openStream();
} catch (IOException x) {
. . .
}
is there a way in the catch block to get the http
response code (eg: 404) if there is one?
try {
URL url = new URI(address).toURL();
InputStream is = url.openStream();
} catch (IOException x) {
. . .
}
is there a way in the catch block to get the http
response code (eg: 404) if there is one?