CloneException cloneException = new CloneException(
"The selected range is not valid.");
throw cloneException;
}
} else if (TextTableRow.class.isAssignableFrom(position.getType())) {
TextTableRow textTableRow = ((TextTableRow) position
.getDestinationObject());
ITextTableCellRange tableCellRange = textTableRow
.getCellRange();
int tmpColumnCount = tableCellRange.getColumnCount();
int tmpRowCount = tableCellRange.getRowCount();
if (tmpColumnCount == 0 || tmpRowCount == 0) {
CloneException cloneException = new CloneException(