3 types derived from XPathException
System.ServiceModel (3)
System\ServiceModel\Dispatcher\QueryException.cs (2)
25
internal class QueryProcessingException :
XPathException
82
internal class QueryCompileException :
XPathException
System\ServiceModel\Dispatcher\XPathNavigatorException.cs (1)
15
public class XPathNavigatorException :
XPathException
4 instantiations of XPathException
System.Xml (4)
System\Xml\XPath\XPathException.cs (4)
67
return new
XPathException
(res, (string[])null);
71
return new
XPathException
(res, new string[] { arg });
75
return new
XPathException
(res, new string[] { arg, arg2 });
79
return new
XPathException
(res, new string[] { arg }, innerException);
58 references to XPathException
PresentationFramework (2)
src\Framework\MS\Internal\Data\XmlBindingWorker.cs (1)
522
catch (
XPathException
xe)
src\Framework\System\Windows\Data\XmlDataProvider.cs (1)
791
catch (
XPathException
xe)
System.Data.SqlXml (3)
System\Xml\Xsl\XsltOld\Compiler.cs (1)
647
} catch (
XPathException
e) {
System\Xml\Xsl\XsltOld\Processor.cs (1)
629
} catch(
XPathException
) {
System\Xml\Xsl\XsltOld\XsltCompileContext.cs (1)
303
} catch(
XPathException
) {
System.Xml (53)
System\Xml\XPath\Internal\CompiledXPathExpr.cs (5)
31
throw
XPathException
.Create(Res.Xp_NoContext);
54
throw
XPathException
.Create(Res.Xp_BadQueryObject);
107
throw
XPathException
.Create(Res.XmlUndefinedAlias, prefix);
113
throw
XPathException
.Create(Res.Xp_UndefinedXsltContext);
116
throw
XPathException
.Create(Res.Xp_UndefinedXsltContext);
System\Xml\XPath\Internal\DescendantBaseQuery.cs (1)
30
throw
XPathException
.Create(Res.Xp_InvalidPattern);
System\Xml\XPath\Internal\ExtensionQuery.cs (2)
43
throw
XPathException
.Create(Res.Xp_NodeSetExpected);
54
throw
XPathException
.Create(Res.Xp_NodeSetExpected);
System\Xml\XPath\Internal\FunctionQuery.cs (5)
37
throw
XPathException
.Create(Res.Xp_NoContext);
51
throw
XPathException
.Create(Res.Xp_UndefFunc, QName);
58
throw
XPathException
.Create(Res.Xp_NoContext);
72
throw
XPathException
.Create(Res.Xp_FunctionFailed, QName, ex);
78
throw
XPathException
.Create(Res.Xp_InvalidPattern);
System\Xml\XPath\Internal\Query.cs (1)
68
throw
XPathException
.Create(Res.Xp_InvalidPattern);
System\Xml\XPath\Internal\QueryBuilder.cs (6)
171
throw
XPathException
.Create(Res.Xp_NotSupported, query);
296
throw
XPathException
.Create(Res.Xp_InvalidKeyPattern, query);
366
throw
XPathException
.Create(Res.Xp_CurrentNotAllowed);
369
throw
XPathException
.Create(Res.Xp_InvalidKeyPattern, query);
375
throw
XPathException
.Create(Res.Xp_NotSupported, query);
397
throw
XPathException
.Create(Res.Xp_QueryTooComplex);
System\Xml\XPath\Internal\SortQuery.cs (1)
44
throw
XPathException
.Create(Res.Xp_NodeSetExpected);
System\Xml\XPath\Internal\ValueQuery.cs (4)
22
public sealed override XPathNavigator Current { get { throw
XPathException
.Create(Res.Xp_NodeSetExpected); } }
23
public sealed override int CurrentPosition { get { throw
XPathException
.Create(Res.Xp_NodeSetExpected); } }
24
public sealed override int Count { get { throw
XPathException
.Create(Res.Xp_NodeSetExpected); } }
25
public sealed override XPathNavigator Advance() { throw
XPathException
.Create(Res.Xp_NodeSetExpected); }
System\Xml\XPath\Internal\VariableQuery.cs (3)
26
throw
XPathException
.Create(Res.Xp_NoContext);
34
throw
XPathException
.Create(Res.Xp_UndefVar, QName);
41
throw
XPathException
.Create(Res.Xp_NoContext);
System\Xml\XPath\Internal\XPathParser.cs (11)
29
throw
XPathException
.Create(Res.Xp_InvalidToken, scanner.SourceText);
39
throw
XPathException
.Create(Res.Xp_InvalidToken, scanner.SourceText);
55
throw
XPathException
.Create(Res.Xp_QueryTooComplex);
394
throw
XPathException
.Create(Res.Xp_NodeSetExpected, this.scanner.SourceText);
467
throw
XPathException
.Create(Res.Xp_InvalidNumArgs, name, this.scanner.SourceText);
480
throw
XPathException
.Create(Res.Xp_InvalidNumArgs, name, this.scanner.SourceText);
494
throw
XPathException
.Create(Res.Xp_InvalidArgumentType, name, this.scanner.SourceText);
630
throw
XPathException
.Create(Res.Xp_InvalidToken, scanner.SourceText);
652
throw
XPathException
.Create(Res.Xp_InvalidToken, this.scanner.SourceText);
675
throw
XPathException
.Create(Res.Xp_NodeSetExpected, this.scanner.SourceText);
765
throw
XPathException
.Create(Res.Xp_InvalidToken, scanner.SourceText);
System\Xml\XPath\Internal\XPathScanner.cs (5)
31
throw
XPathException
.Create(Res.Xp_ExprExpected, string.Empty);
212
throw
XPathException
.Create(Res.Xp_InvalidName, SourceText);
227
throw
XPathException
.Create(Res.Xp_InvalidName, SourceText);
235
throw
XPathException
.Create(Res.Xp_InvalidToken, SourceText);
276
throw
XPathException
.Create(Res.Xp_UnclosedString);
System\Xml\XPath\XPathException.cs (4)
66
internal static
XPathException
Create(string res) {
70
internal static
XPathException
Create(string res, string arg) {
74
internal static
XPathException
Create(string res, string arg, string arg2) {
78
internal static
XPathException
Create(string res, string arg, Exception innerException) {
System\Xml\XPath\XPathNavigator.cs (5)
1020
throw
XPathException
.Create(Res.Xp_NodeSetExpected);
1040
throw
XPathException
.Create(Res.Xp_BadQueryObject);
1061
throw
XPathException
.Create(Res.Xp_BadQueryObject);
1071
catch(
XPathException
) {
1072
throw
XPathException
.Create(Res.Xp_InvalidPattern, cexpr.Expression);