We help IT Professionals succeed at work.

Is Try/Catch/Finally in Finally Clause Allowed

Doug Bishop
Doug Bishop asked
on
Okay, just a quick question requiring a yes or no answer: I haven't been able to find anything against it; can a Fainlly clause have a Try/Catch/Finally construct within it?
Comment
Watch Question

Top Expert 2014
Commented:
Yes.
Just tested to make sure.
Qlemo"Batchelor", Developer and EE Topic Advisor
Top Expert 2015

Commented:
You can use try within any block, including catch and finally.
Doug BishopDatabase Developer

Author

Commented:
Thanks. I could have tried too but working 60 hours/week unfortuneatley very little time to 'play around'. Sometimes posting a question for a yes/no answer is a lot quicker.