Class TokenMgrError

    • Constructor Detail

      • TokenMgrError

        public TokenMgrError​(int line,
                             int column,
                             @Nullable FileId filename,
                             String message,
                             @Nullable Throwable cause)
        Create a new exception.
        Parameters:
        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

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