Better exception

This commit is contained in:
Chris Cameron
2018-01-23 18:47:31 -05:00
parent 5724cb3c8c
commit 250c8a354f

View File

@@ -77,7 +77,7 @@ namespace ICD.Common.Utils.Xml
if (GetAttributes(xml).TryFirst(a => a.Name == name, out output))
return output;
throw new KeyNotFoundException(string.Format("No attribute with name {0}", name));
throw new FormatException(string.Format("No attribute with name {0}", name));
}
/// <summary>