digitalmars.D - unclear "finally" documentation
- Thomas Kuehne <thomas-dloop kuehne.thisisspam.cn> Mar 21 2005
- "Regan Heath" <regan netwin.co.nz> Mar 21 2005
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 http://www.digitalmars.com/d/statement.html # If an exception is raised in the FinallyStatement(1) and # is not caught before the FinallyStatement(2) is # executed, the new exception replaces any existing exception. How can an exception be thrown(1) in a finally scope, if that very scope isn't currently executed(2)? Thomas -----BEGIN PGP SIGNATURE----- iD8DBQFCPwJq3w+/yD4P9tIRAo0vAKCDOsYH3bGmoqXo10DPKdP2k2i4mACfSErR yETMfayVXNcSRz6PEM6coCY= =zDO6 -----END PGP SIGNATURE-----
Mar 21 2005
On Mon, 21 Mar 2005 20:48:00 +0000 (UTC), Thomas Kuehne <thomas-dloop kuehne.thisisspam.cn> wrote:http://www.digitalmars.com/d/statement.html # If an exception is raised in the FinallyStatement(1) and # is not caught before the FinallyStatement(2) is # executed, the new exception replaces any existing exception. How can an exception be thrown(1) in a finally scope, if that very scope isn't currently executed(2)?
I suspect "executed" is meant to be "completed" and should be changed to that. Regan
Mar 21 2005








"Regan Heath" <regan netwin.co.nz>