Catch(…) and rethrow
Wednesday, October 15th, 2003Ned Batchelder said that he didn’t approve of the catch(…) but I think it’s necessary in this particular instance. This is because when the UpdateRegistry method fails for any reason, the CopyFiles must be undone. What I missed is re-throwing the exception after fixing the stuff I knew I had to fix: } catch […]