Class InvalidRowIndexException

All Implemented Interfaces:
Serializable

public class InvalidRowIndexException extends RuntimeException
An exception that can be thrown when an invalid row index in some matrix is trying to be accessed.
Since:
1.8
Version:
1.0 (January 28th, 2022)
Author:
Maysara Al Jumaily
See Also:
Matrix, InvalidColIndexException, Serialized Form
  • Constructor Details

    • InvalidRowIndexException

      public InvalidRowIndexException(byte invalidRowIndex, byte maxRowValueOneBased)
      Constructs a new runtime exception when an invalid index of a row in a matrix is trying to be accessed.
      Parameters:
      invalidRowIndex - the invalid row matrix (zero-based)
      maxRowValueOneBased - the largest row value that is accessible (one-based)