Class InvalidDigitException

All Implemented Interfaces:
Serializable

public class InvalidDigitException extends RuntimeException
An exception that can be thrown when an invalid digit is being used in the code. For example, using \(\omega_{4}\) or \(3_{10}\) in base \(2\).
Since:
1.8
Version:
1.0 (January 28th, 2022)
Author:
Maysara Al Jumaily
See Also:
hlcd.linearCode, Serialized Form
  • Constructor Details

    • InvalidDigitException

      public InvalidDigitException(byte invalidDigit, byte base)
      Constructs a new runtime exception when an invalid digit is used in the code.
      Parameters:
      invalidDigit - the invalid digit
      base - the base of the code