Hi,
Win2kpro, jdk 1.3.1, build 611
I thought (though I am not sure) that surround with try / catch
expanded to all possible exceptions rather than just the highest up.
eg. if I have code that can throw both IOException,
MalformedURLException and NoSuchElementException and I surround
with try / catch I would expect to get
try {
...
...
} catch (NoSuchElementException e) {
} catch (MalforedURLException e) {
} catch (IOException e) {
}
What I actually get is just
try {
...
...
} catch (IOException e) {
}
Now granted, in my code the NoSuchElementException should not be
possible as it's from a StringTokenizer that is surrounded with a
while (hasMoreElements()) construct but I would still expect to get at
least the MalformedURL and IOException separately.
Is there an option to do this, or is this a bug or just my
misunderstanding ?
Regards
H
_______________________________________________
Eap-list mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-list