Use extra class for xml exception
Add handler class for xml errors Fix testcases
This commit is contained in:
1 parent
a2aafd4614
commit
33618b4c97
12 files changed
+334
-71
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user