// prepared StateManagers.
for (Iterator iter = flushedManagers.iterator(); iter.hasNext();) {
StateManager stateManager = (StateManager) iter.next();
stateManager.unflush();
}
throw new GFileManagerException("Can not flush GFile", e);
}
// One can flush all the states.
for (Iterator iter = aStateManagers.iterator(); iter.hasNext();) {
StateManager stateManager = (StateManager) iter.next();
flushedManagers.add(stateManager);