Julie
2010-08-31 16:24:24 UTC
So, I've started using Visual C# (2005), and love the way it seems I
can catch everything under the sun; in other words, all of the
underlying API classes seem to throw exceptions that I can catch.
I've used Visual C++ 6.0 in the past, and it seems that many things
were "uncatchable" (i.e. I don't think I could catch a divide by zero
error). Then again, I don't think I was in the habit at the time of
putting try/catch blocks around most of my code.
Is what I'm saying true? What accounts for the difference? Is it a
difference between Visual Studio 6.0 and 2005?
can catch everything under the sun; in other words, all of the
underlying API classes seem to throw exceptions that I can catch.
I've used Visual C++ 6.0 in the past, and it seems that many things
were "uncatchable" (i.e. I don't think I could catch a divide by zero
error). Then again, I don't think I was in the habit at the time of
putting try/catch blocks around most of my code.
Is what I'm saying true? What accounts for the difference? Is it a
difference between Visual Studio 6.0 and 2005?