mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-02-08 17:24:49 +00:00
Clearer exception
This commit is contained in:
@@ -151,7 +151,8 @@ namespace ICD.Common.Utils.Xml
|
||||
}
|
||||
catch (XmlException e)
|
||||
{
|
||||
throw new IcdXmlException(e);
|
||||
string message = string.Format("Unable to read element '{0}' content as string", m_Reader.Name);
|
||||
throw new IcdXmlException(message, e, e.LineNumber, e.LinePosition);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user