Clearer exception

This commit is contained in:
Chris Cameron
2018-03-22 10:15:02 -04:00
parent 3a59423622
commit b00ee4dccb

View File

@@ -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);
}
}