Class Scanner.ScanException

  • All Implemented Interfaces:
    java.io.Serializable
    Enclosing class:
    Scanner

    public static class Scanner.ScanException
    extends java.lang.Exception
    Scan exception type
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      ScanException​(int position, java.lang.String encountered, java.lang.String expected)  
    • 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

      • ScanException

        public ScanException​(int position,
                             java.lang.String encountered,
                             java.lang.String expected)