Class TokenMgrError

    • Constructor Detail

      • TokenMgrError

        public TokenMgrError​(int line,
                             int column,
                             @Nullable String filename,
                             String message,
                             @Nullable Throwable cause)
        Create a new exception.
        line - Line number
        column - Column number
        filename - Filename. If unknown, it can be completed with setFileName(String) later
        message - Message of the error
        cause - Cause of the error, if any
      • TokenMgrError

        public TokenMgrError​(boolean eofSeen,
                             String lexStateName,
                             int errorLine,
                             int errorColumn,
                             String errorAfter,
                             char curChar)
        Constructor called by JavaCC.