Class InvalidColumnVectorDimensionException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
hlcd.exceptions.InvalidColumnVectorDimensionException
All Implemented Interfaces:
Serializable

public class InvalidColumnVectorDimensionException extends RuntimeException
An exception that can be thrown when the number of rows in a column vector exceeds the allowable limit. When the base is \(2\), then the limit cannot exceed \(62\) and when the is base \(4\), the limit is \(30\).

It is different from InvalidColumnDimensionToSetException because this deals with the dimension of any column vector, not when setting a column vector in a matrix.

Since:
1.8
Version:
1.0 (January 28th, 2022)
Author:
Maysara Al Jumaily
See Also:
Matrix, InvalidColumnDimensionToSetException, Serialized Form
  • Constructor Details

    • InvalidColumnVectorDimensionException

      public InvalidColumnVectorDimensionException(byte numberOfRows, byte base)
      Constructs a new runtime exception when a column matrix contain more rows than the allowable limit.
      Parameters:
      numberOfRows - the number of rows in the column vector
      base - the base of the code