try-finally is a clause used to define a block of code which may throw an exception along with instructions to execute regardless of whether an exception occurs or not.
References
- Simulating try/finally in plain C++ (without the C++/CLI extensions)
- try/finally using() SharePoint Dispose
- Java: Execution of try-finally and try-catch-finally
- try-finally (C# Reference)
- Exceptions: The try...finally Expression (F#)
- The try-finally statement (Microsoft C)
- The try...finally statement (Freepascal)
- PEP 341 -- Unifying try-except and try-finally