Implemented exceptions when creating XCellExpr