Name: Anonymous 2007-02-20 1:41
Is it possible to run a do/while loop in java until an exception is thrown? As in:
try {
Do {
***
} while ("NO EXCEPTION");
} catch (Exception e) {}
Example being that I'm saving a ArrayList and would like to read from that file all items using .add.readObject() without knowing the file length.
try {
Do {
***
} while ("NO EXCEPTION");
} catch (Exception e) {}
Example being that I'm saving a ArrayList and would like to read from that file all items using .add.readObject() without knowing the file length.