Use extra class for xml exception

Add handler class for xml errors
Fix testcases
This commit is contained in:
Flamefire committed 2014-11-17 19:27:43 +01:00
1 parent a2aafd4614
commit 33618b4c97
12 files changed
+334 -71

No files matched your search

+1 -2
View File
@@ -18,7 +18,6 @@
using System;
using System.ComponentModel;
using System.IO;
using System.Xml;
using System.Xml.Serialization;
using VocaluxeLib.Xml;
@@ -116,7 +115,7 @@ namespace VocaluxeLib.Profile
}
catch (Exception e2)
{
if (!(e2 is XmlException))
if (!(e2 is CXmlException))
e = e2;
return false;
}