ExpressionTooComplex() public static method

public static ExpressionTooComplex ( ) : Exception
return System.Exception
Ejemplo n.º 1
0
 private void NodePush(ExpressionNode node)
 {
     if (this.topNode >= 0x62)
     {
         throw ExprException.ExpressionTooComplex();
     }
     this.NodeStack[this.topNode++] = node;
 }
Ejemplo n.º 2
0
        /// <summary>
        ///     Push an operand node onto the node stack
        /// </summary>
        private void NodePush(ExpressionNode node)
        {
            Debug.Assert(null != node, "null NodePush");

            if (_topNode >= MaxPredicates - 2)
            {
                throw ExprException.ExpressionTooComplex();
            }
            _nodeStack[_topNode++] = node;
        }