Class InvalidInputException

  • All Implemented Interfaces:
    java.io.Serializable

    public class InvalidInputException
    extends java.lang.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 Summary

      Constructors 
      Constructor Description
      InvalidInputException()
      Creates a new exception with no detail message.
      InvalidInputException​(java.lang.String message)
      Creates a new exception with the given detail message.
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • InvalidInputException

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

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