for (int i = 0; i < recordInfo.turnsInRounds.length; i++) {
if (recordInfo.turnsInRounds[i] > 0) {
for (int j = 0; j <= recordInfo.turnsInRounds[i] - 1; j++) {
try {
TurnSnapshot turn = (TurnSnapshot) ois.readObject();
if (j != turn.getTurn()) {
throw new Error("Something rotten");
}
if (isbin) {
turn.stripDetails(options);
oos.writeObject(turn);
} else if (isxml) {
turn.writeXml(xwr, options);
}
} catch (ClassNotFoundException e) {
logError(e);
}
}