def _validateCell(self, cell):
if cell >= self.numberOfCells() or cell < <NUM_LIT:0>:<EOL><INDENT>raise IndexError("<STR_LIT>")<EOL><DEDENT>
Raises an error if cell index is invalid.

:param cell: (int) Cell index