try {
    this.validateCoords(0, rowIndex);
  } catch (err) {
    throw new Error('fixed-2d-array: row index ' + rowIndex + ' is not valid.' +
      ' The size of this array is (' + this.getHeight() + '/' + this.getRow() + ')');