Class InvalidColIndexException

All Implemented Interfaces:
Serializable

public class InvalidColIndexException extends RuntimeException
An exception that can be thrown when an invalid column 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, InvalidRowIndexException, Serialized Form
  • Constructor Details

    • InvalidColIndexException

      public InvalidColIndexException(byte invalidColIndex, byte maxColValueOneBased, byte base)
      Constructs a new runtime exception when an invalid index of a column in a matrix is trying to be accessed.
      Parameters:
      invalidColIndex - the invalid column matrix (zero-based)
      maxColValueOneBased - the largest column value that is accessible (one-based)
      base - the base of the code (which could \(2\) or \(4\))