Throw an error if this row doesn't exist.
(int row)
| 4272 | |
| 4273 | /** Throw an error if this row doesn't exist. */ |
| 4274 | protected void checkRow(int row) { |
| 4275 | if (row < 0 || row >= rowCount) { |
| 4276 | throw new ArrayIndexOutOfBoundsException("Row " + row + " does not exist."); |
| 4277 | } |
| 4278 | } |
| 4279 | |
| 4280 | |
| 4281 | /** Throw an error if this column doesn't exist. */ |