Roman,
I believe that is what I said. If I did not articulate
that
correctly, then I do apologize. Below is an example of my
intended
post...
---
try
{
// Give it a shot 'ol buddy.
Lance.MakeSense();
}
catch (System.IO.DirectoryNotFoundException ex)
{
// Do something in response to the
// directory not existing.
}
catch (System.IO.IOException ex)
{
// Do something based on any other
// failed IO operation, but NOT the
// DirectoryNotFoundException.
// (e.g. FileNotFoundException,EndOfStreamException)
}
catch (System.Exception ex)
{
// Do something based on any exception
// that has not already been handled.
}
---
I hope that helps clear that up.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "C-Sharp (C#)" group.
To post to this group, send email to C_Sharp googlegroups.com
To unsubscribe from this group, send email to
C_Sharp-unsubscribe googlegroups.com
For more options, visit this group at http://groups.
google.com/group/C_Sharp
-~----------~----~----~----~------~----~------~--~---
|