Class InvalidBaseException

All Implemented Interfaces:
Serializable

public class InvalidBaseException extends RuntimeException
An exception that can be thrown when an invalid base is trying to be used. Currently, a valid base is either \(2\) or \(4\). The program is designed to allow the inclusion of other bases.
Since:
1.8
Version:
1.0 (January 28th, 2022)
Author:
Maysara Al Jumaily
See Also:
Serialized Form
  • Constructor Details

    • InvalidBaseException

      public InvalidBaseException(byte invalidBase)
      Constructs a new runtime exception with the specified invalid base.
      Parameters:
      invalidBase - the invalid base