Hello. If anybody has a minute, I've been wrestling with this for a while and can't seem to come up with a viable solution.
try {
for(int x=0,x<5,x++) {
...do junk...
//RESUME HERE
}
} catch(Exception e) {
System.out.println(e.toString()
//NEED A WAY TO RETURN TO RESUME HERE
}
I'm trying to handle any exception that occurs in "..do junk..." and return to the loop in order to grab the next iteration and avoid the rest of "...do junk...". I've tried ifs, switches, etc but they don't mesh with the try-catch. I'm probably missing something here but does anybody have any ideas...a
java Goto would be nice but I know thats frowned upon cuz it makes code hard to decipher. Thank you very much for reading this.
[ December 11, 2007: Message edited by: Tom Griffith ]