Table table = indexColumn.getColumn().getTable();
if (!((table == indexedTable) ||
table.isDescendantOf(indexedTable) ||
indexedTable.isDescendantOf(table))) {
if (table.getGroup() != indexedTable.getGroup()) {
throw new IndexColNotInGroupException(indexColumn.getIndex().getIndexName().getName(),
indexColumn.getColumn().getName());
}
else {
throw new BranchingGroupIndexException(indexColumn.getIndex().getIndexName().getName(),
table.getName(),