From: <br...@us...> - 2008-09-01 16:27:15
|
Revision: 345 http://acmcontester.svn.sourceforge.net/acmcontester/?rev=345&view=rev Author: brus07 Date: 2008-09-01 16:27:25 +0000 (Mon, 01 Sep 2008) Log Message: ----------- Fixed bug. Modified Paths: -------------- ACMServer/trunk/ACMServer/Library/LibraryExtention/XML/XmlHelper.cs Modified: ACMServer/trunk/ACMServer/Library/LibraryExtention/XML/XmlHelper.cs =================================================================== --- ACMServer/trunk/ACMServer/Library/LibraryExtention/XML/XmlHelper.cs 2008-09-01 16:21:45 UTC (rev 344) +++ ACMServer/trunk/ACMServer/Library/LibraryExtention/XML/XmlHelper.cs 2008-09-01 16:27:25 UTC (rev 345) @@ -46,17 +46,17 @@ public static T GetObject<T>(string fullXml, string xmlPath, string pathToSchemaFile) where T: class { if (fullXml == null) - throw new ArgumentNullException("fullXml", "Can't be null"); + throw new ArgumentNullException("Can't be null", "fullXml"); if (fullXml == null) - throw new ArgumentException("fullXml", "Can't be empty"); + throw new ArgumentException("Can't be empty", "fullXml"); if (xmlPath == null) - throw new ArgumentNullException("xmlPath", "Can't be null"); + throw new ArgumentNullException("Can't be null", "xmlPath"); if (xmlPath == null) - throw new ArgumentException("xmlPath", "Can't be empty"); + throw new ArgumentException("Can't be empty", "xmlPath"); if (pathToSchemaFile == null) - throw new ArgumentNullException("pathToSchemaFile", "Can't be null. You can use other method without this parameter"); + throw new ArgumentNullException("Can't be null. You can use other method without this parameter", "pathToSchemaFile"); if (pathToSchemaFile == null) - throw new ArgumentException("pathToSchemaFile", "Can't be null. You can use other method without this parameter"); + throw new ArgumentException("Can't be null. You can use other method without this parameter", "pathToSchemaFile"); fullXml = XmlHelper.GetOuterXmlOfSingleNodeFromXpath(fullXml, xmlPath); if (fullXml == null || fullXml == "") This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |