Class InvalidInputException

  • All Implemented Interfaces:
    Serializable

    public class InvalidInputException
    extends Exception
    Exception thrown by a scanner when encountering lexical errors.
    See Also:
    Serialized Form
    Restriction:
    This class is not intended to be subclassed by clients.
    Restriction:
    This class is not intended to be instantiated by clients.
    • Constructor Detail

      • InvalidInputException

        public InvalidInputException()
        Creates a new exception with no detail message.
      • InvalidInputException

        public InvalidInputException​(String message)
        Creates a new exception with the given detail message.
        Parameters:
        message - the detail message