diff options
author | Atsushi Eno <atsushieno@gmail.com> | 2005-01-26 08:44:49 +0300 |
---|---|---|
committer | Atsushi Eno <atsushieno@gmail.com> | 2005-01-26 08:44:49 +0300 |
commit | babab4167a3f96617f412449ae55a0c67da5c3de (patch) | |
tree | 2c2e850f5c62dceae7c0d49ad887df1634f72f40 /mcs/class/System.XML/Mono.Xml.XPath | |
parent | 63d06c26c7d2c617b0663c3fe9fbf1992ac10c72 (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/ChangeLog | 4 | ||||
-rwxr-xr-x | mcs/class/System.XML/Mono.Xml.XPath/XPathEditableDocument.cs | 2 |
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); |