Author Posts

August 21, 2013 at 7:08 am

Simple question. Guess I could test it and see what happens, but right now (honestly) I barely have time to post this question. I'm getting tired of 70-hour weeks!
Can a catch block contain it's own try/catch code? I want to do some cleanup in the catch (not the finally) in case an error occurred, but it is possible that the cleanup code itself could error. I may handle this with a error action preference of Silently Continue, but in the meantime, am just interested to know if I can use try/catch within a catch.