throw new HistoryException("The action containers does not exist or is not of the same size as the action table. ");
}
int j = 0;
for (int i = 0, n=history.getDecisionTables().size(); i < n; i++) {
if (history.getDecisionTables().get(i) instanceof CombinedTableContainer) {
CombinedTableContainer tableContainer = (CombinedTableContainer)history.getDecisionTables().get(i);
int nContainers = tableContainer.getNumberContainers();
tableContainer.setActionContainer(actionContainers.subList(j, j + nContainers), decisions.get(i).getDecisionCode());
j = j + nContainers;
} else {
actionContainers.get(j).setAction(decisions.get(i).getDecisionCode());
j++;
}