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