//*
        // * Throws a parse exception that matches the specified look-ahead
        // * set. This method will take into account any initial matching
        // * tokens in the look-ahead set.
        // *
        // * @param set the look-ahead set to match
        // *
        // * @throws ParseException always thrown by this method
        //

        private void ThrowParseException(LookAheadSet @set)
        {
            Token     token = default(Token);
            ArrayList list  = new ArrayList();

            int[] initials = null;

            // Read tokens until mismatch
            while (@set.IsNext(this, 1))
            {
                @set = @set.CreateNextSet(NextToken().Id);
            }

            // Find next token descriptions
            initials = @set.GetInitialTokens();
            for (int i = 0; i <= initials.Length - 1; i++)
            {
                list.Add(GetTokenDescription(initials[i]));
            }

            // Create exception
            token = NextToken();
            throw new ParseException(ParseException.ErrorType.UNEXPECTED_TOKEN, token.ToShortString(), list, token.StartLine, token.StartColumn);
        }