refactor: Catch specific exception

This commit is contained in:
Chris Cameron
2018-07-19 12:38:22 -04:00
parent b597448bdc
commit 6f69ea7fde

View File

@@ -163,7 +163,7 @@ namespace ICD.Common.Utils.Extensions
item = extends.ElementAt(index);
return true;
}
catch (Exception)
catch (ArgumentOutOfRangeException)
{
return false;
}