( , ). , , , , .
try
{
AMethodMayThrowExceptions();
}
catch (FileNotFoundException fileEx)
{
}
catch (TimeoutException timeoutEx)
{
}
catch (Exception ex)
{
}
, RaceCarsServiceException?
catch (RaceCarsServiceException ex)
{
if (ex.ErrorCode == ErrorCode.File)
else ...
}
, !