Throw an error if this row doesn't exist.
(int row)
| 4173 | |
| 4174 | /** Throw an error if this row doesn't exist. */ |
| 4175 | protected void checkRow(int row) { |
| 4176 | if (row < 0 || row >= rowCount) { |
| 4177 | throw new ArrayIndexOutOfBoundsException("Row " + row + " does not exist."); |
| 4178 | } |
| 4179 | } |
| 4180 | |
| 4181 | |
| 4182 | /** Throw an error if this column doesn't exist. */ |