62 references to QueryCompileError
System.ServiceModel (62)
System\ServiceModel\Dispatcher\QueryCoreOp.cs (1)
273
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new QueryCompileException(
QueryCompileError
.InvalidType, SR.GetString(SR.QueryVariableTypeNotSupported, this.variable.VariableType.ToString())));
System\ServiceModel\Dispatcher\QueryException.cs (3)
84
QueryCompileError
error;
86
internal QueryCompileException(
QueryCompileError
error, string message) : base(message, null)
91
internal QueryCompileException(
QueryCompileError
error) : this(error, null)
System\ServiceModel\Dispatcher\QueryFunctions.cs (1)
86
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new QueryCompileException(
QueryCompileError
.InvalidType, SR.GetString(SR.QueryFunctionTypeNotSupported, this.function.ReturnType.ToString())));
System\ServiceModel\Dispatcher\QueryMatcher.cs (1)
421
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new QueryCompileException(
QueryCompileError
.CouldNotParseExpression));
System\ServiceModel\Dispatcher\QueryModel.cs (1)
862
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new QueryCompileException(
QueryCompileError
.InvalidComparison));
System\ServiceModel\Dispatcher\XPathCompiler.cs (11)
183
this.ThrowError(
QueryCompileError
.UnsupportedExpression);
282
this.ThrowError(
QueryCompileError
.InvalidExpression);
304
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new QueryCompileException(
QueryCompileError
.PredicateNestingTooDeep));
367
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new QueryCompileException(
QueryCompileError
.InvalidTypeConversion));
421
this.ThrowError(
QueryCompileError
.InvalidOrdinal);
426
this.ThrowError(
QueryCompileError
.InvalidOrdinal);
623
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new QueryCompileException(
QueryCompileError
.UnsupportedAxis));
634
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new QueryCompileException(
QueryCompileError
.PredicateNestingTooDeep));
748
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new QueryCompileException(
QueryCompileError
.UnsupportedAxis));
776
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new QueryCompileException(
QueryCompileError
.PredicateNestingTooDeep));
895
void ThrowError(
QueryCompileError
error)
System\ServiceModel\Dispatcher\XPathExpr.cs (3)
189
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new QueryCompileException(
QueryCompileError
.InvalidExpression));
319
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new QueryCompileException(
QueryCompileError
.InvalidTypeConversion));
340
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new QueryCompileException(
QueryCompileError
.InvalidTypeConversion));
System\ServiceModel\Dispatcher\XPathLexer.cs (11)
658
ThrowError(
QueryCompileError
.UnexpectedToken, CurrentSubstring());
703
ThrowError(
QueryCompileError
.UnsupportedOperator, CurrentSubstring());
752
ThrowError(
QueryCompileError
.InvalidVariable, this.ch == char.MinValue ? string.Empty : CurrentSubstring());
813
ThrowError(
QueryCompileError
.InvalidNCName, this.ch == char.MinValue ? "" : CurrentSubstring());
955
ThrowError(
QueryCompileError
.InvalidLiteral, CurrentSubstring());
988
ThrowError(
QueryCompileError
.InvalidOperatorName, qname.Prefix + ":" + qname.Name);
995
ThrowError(
QueryCompileError
.UnsupportedOperator, this.previousID.ToString() + "->" + qname.Name);
1006
ThrowError(
QueryCompileError
.InvalidAxisSpecifier, qname.Prefix + ":" + qname.Name);
1013
ThrowError(
QueryCompileError
.UnsupportedAxis, qname.Name);
1031
ThrowError(
QueryCompileError
.InvalidNodeType, qname.Prefix + ":" + qname.Name);
1050
private void ThrowError(
QueryCompileError
err, string msg)
System\ServiceModel\Dispatcher\XPathParser.cs (30)
32
this.ThrowError(
QueryCompileError
.InvalidFunction);
75
XPathToken NextToken(XPathTokenID id,
QueryCompileError
error)
114
this.ThrowError(
QueryCompileError
.NoNamespaceForPrefix);
129
this.ThrowError(
QueryCompileError
.InvalidExpression);
137
this.ThrowError(
QueryCompileError
.UnexpectedToken);
215
this.ThrowError(
QueryCompileError
.InvalidExpression);
240
this.ThrowError(
QueryCompileError
.InvalidExpression);
265
this.ThrowError(
QueryCompileError
.UnsupportedAxis);
290
this.NextToken(XPathTokenID.DblColon,
QueryCompileError
.InvalidAxisSpecifier);
332
this.ThrowError(
QueryCompileError
.InvalidExpression);
394
this.NextToken(XPathTokenID.LParen,
QueryCompileError
.InvalidFunction);
444
this.ThrowError(
QueryCompileError
.UnsupportedFunction);
447
this.NextToken(XPathTokenID.RParen,
QueryCompileError
.InvalidFunction);
520
this.ThrowError(
QueryCompileError
.InvalidExpression);
545
this.ThrowError(
QueryCompileError
.UnexpectedToken);
576
this.ThrowError(
QueryCompileError
.UnsupportedNodeTest);
599
this.ThrowError(
QueryCompileError
.InvalidNodeType);
603
this.NextToken(XPathTokenID.LParen,
QueryCompileError
.InvalidNodeTest);
604
this.NextToken(XPathTokenID.RParen,
QueryCompileError
.InvalidNodeTest);
639
this.ThrowError(
QueryCompileError
.InvalidExpression);
670
this.ThrowError(
QueryCompileError
.InvalidLocationPath);
686
this.ThrowError(
QueryCompileError
.InvalidLocationPath);
731
this.ThrowError(
QueryCompileError
.InvalidPredicate);
734
this.NextToken(XPathTokenID.RBracket,
QueryCompileError
.InvalidPredicate);
751
this.ThrowError(
QueryCompileError
.InvalidExpression);
817
this.ThrowError(
QueryCompileError
.InvalidLocationPath);
870
this.ThrowError(
QueryCompileError
.InvalidExpression);
920
this.ThrowError(
QueryCompileError
.InvalidLocationStep);
965
ThrowError(
QueryCompileError
.CouldNotParseExpression);
1003
internal void ThrowError(
QueryCompileError
error)