Rick Byers wrote:
 Of course the solution
is to prevent throwing exceptions from my finally blocks, but this can be
very hard to guarantee, and you generally won't discover a problem until
you've lost information about a more important bug that needs to be tracked
down.

Can't something like this VB.NET code guarantee that there is no exception raised in a Finally block: Try 'pretend there is some code that raises an exception 'in place of this comment Finally Try 'pretend there is some code that might raise an exception 'in place of this comment Catch End Try End Try

===================================
This list is hosted by DevelopMentorŪ  http://www.develop.com
Some .NET courses you may be interested in:

NEW! Guerrilla ASP.NET, 17 May 2004, in Los Angeles
http://www.develop.com/courses/gaspdotnetls

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to