From 2e628264bbdcb3b9ab7f52fe797b0d0eed81eda8 Mon Sep 17 00:00:00 2001 From: Atsushi Eno Date: Wed, 11 Jan 2006 17:50:16 +0000 Subject: [PATCH] 2006-01-11 Atsushi Enomoto * Iterator.cs : (DescendantOrSelfIterator/DescendantIterator) the error message is for blaming custom XPathNavigator implementation, not us ;-) (see also #77194) svn path=/trunk/mcs/; revision=55389 --- mcs/class/System.XML/System.Xml.XPath/ChangeLog | 6 ++++++ mcs/class/System.XML/System.Xml.XPath/Iterator.cs | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/mcs/class/System.XML/System.Xml.XPath/ChangeLog b/mcs/class/System.XML/System.Xml.XPath/ChangeLog index b33e228bf3b..4bcca4d3dfe 100644 --- a/mcs/class/System.XML/System.Xml.XPath/ChangeLog +++ b/mcs/class/System.XML/System.Xml.XPath/ChangeLog @@ -1,3 +1,9 @@ +2006-01-11 Atsushi Enomoto + + * Iterator.cs : (DescendantOrSelfIterator/DescendantIterator) the + error message is for blaming custom XPathNavigator + implementation, not us ;-) (see also #77194) + 2006-01-06 Atsushi Enomoto * XPathNavigator.cs : use WriteNode(XPathNavigator, bool) diff --git a/mcs/class/System.XML/System.Xml.XPath/Iterator.cs b/mcs/class/System.XML/System.Xml.XPath/Iterator.cs index cb137a19c37..993b2d89fab 100644 --- a/mcs/class/System.XML/System.Xml.XPath/Iterator.cs +++ b/mcs/class/System.XML/System.Xml.XPath/Iterator.cs @@ -522,7 +522,7 @@ namespace System.Xml.XPath return true; } if (!_nav.MoveToParent ()) // should NEVER fail! - throw new XPathException ("There seems some bugs on the XPathNavigator implementation class."); + throw new XPathException ("There seems some bugs on the XPathNavigator implementation class: " + _nav.GetType ()); _depth --; } _finished = true; @@ -569,7 +569,7 @@ namespace System.Xml.XPath return true; } if (!_nav.MoveToParent ()) // should NEVER fail! - throw new XPathException ("There seems some bugs on the XPathNavigator implementation class."); + throw new XPathException ("There seems some bugs on the XPathNavigator implementation class: " + _nav.GetType ()); _depth --; } _finished = true; -- 2.25.1