View Single Post
  #3 (permalink)  
Old 05-11-2007, 10:58 PM
fritz fritz is offline
Member
 
Join Date: May 2007
Posts: 5
fritz is on a distinguished road
the whole point of a try block is that if something goes wrong in that section, you need to abort and handle things. you don't WANT to continue with that code if an exception is thrown.

If you want a line or block of code to run regardless of the exception, take it out of the try/catch/finally block.

of course, you may need to put it into its OWN try/catch, if you do not declare you will throw the exeption...
Reply With Quote