OpenReplayListener xaListener = new OpenReplayListener(listener);
try {
super.replay(xaListener, getActiveMark(), true); // replay CTRL records also
} catch (InvalidLogKeyException e) {
throw new LogClosedException(e);
}
// something very wrong if we come back from replay and we have not cleared the flag.
if (replayNeeded)
{
LogClosedException lce = new LogClosedException(xaListener.replayException);
throw lce;
}
}