Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAtsushi Eno <atsushieno@gmail.com>2005-01-26 08:44:49 +0300
committerAtsushi Eno <atsushieno@gmail.com>2005-01-26 08:44:49 +0300
commitbabab4167a3f96617f412449ae55a0c67da5c3de (patch)
tree2c2e850f5c62dceae7c0d49ad887df1634f72f40 /mcs/class/System.XML/Mono.Xml.XPath
parent63d06c26c7d2c617b0663c3fe9fbf1992ac10c72 (diff)
2005-01-25 Atsushi Enomoto <atsushi@ximian.com>
* XPathEditableDocument.cs : eliminating "throw new Exception". svn path=/trunk/mcs/; revision=39535
Diffstat (limited to 'mcs/class/System.XML/Mono.Xml.XPath')
-rw-r--r--mcs/class/System.XML/Mono.Xml.XPath/ChangeLog4
-rwxr-xr-xmcs/class/System.XML/Mono.Xml.XPath/XPathEditableDocument.cs2
2 files changed, 5 insertions, 1 deletions
diff --git a/mcs/class/System.XML/Mono.Xml.XPath/ChangeLog b/mcs/class/System.XML/Mono.Xml.XPath/ChangeLog
index 64729ece854..0579af69a68 100644
--- a/mcs/class/System.XML/Mono.Xml.XPath/ChangeLog
+++ b/mcs/class/System.XML/Mono.Xml.XPath/ChangeLog
@@ -1,3 +1,7 @@
+2005-01-25 Atsushi Enomoto <atsushi@ximian.com>
+
+ * XPathEditableDocument.cs : eliminating "throw new Exception".
+
2004-12-17 Atsushi Enomoto <atsushi@ximian.com>
* XPathNavigatorReader.cs : added CanReadBinaryContent and
diff --git a/mcs/class/System.XML/Mono.Xml.XPath/XPathEditableDocument.cs b/mcs/class/System.XML/Mono.Xml.XPath/XPathEditableDocument.cs
index b75a6823adf..b41bb5511d1 100755
--- a/mcs/class/System.XML/Mono.Xml.XPath/XPathEditableDocument.cs
+++ b/mcs/class/System.XML/Mono.Xml.XPath/XPathEditableDocument.cs
@@ -308,7 +308,7 @@ namespace Mono.Xml.XPath
if (doc == null)
doc = current as XmlDocument;
if (doc == null)
- throw new Exception ("Should not happen.");
+ throw new SystemException ("Should not happen.");
XmlElement el = doc.CreateElement (prefix, name, ns);
current.AppendChild (el);
document.AppendChild (current, el);