mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-04-12 12:07:05 +00:00
Better exception
This commit is contained in:
parent
5724cb3c8c
commit
250c8a354f
1 changed files with 1 additions and 1 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue