Remove exception warning and narrowed exceptions down to just the expected types

master
Nathan Crawford 2016-04-04 18:52:41 -04:00
rodzic 06e3a79874
commit 7c779615dc
1 zmienionych plików z 5 dodań i 4 usunięć

Wyświetl plik

@ -142,11 +142,12 @@ namespace embroideryReader
blueByte = Convert.ToByte(blue);
retval = true;
}
catch (Exception ex)
catch (FormatException /* ex */)
{
retval = false;
}
catch (OverflowException /* ex */)
{
#if DEBUG
Console.WriteLine(ex.Message);
#endif
retval = false;
}
}