March 21, 2005 unclear "finally" documentation | ||||
---|---|---|---|---|
| ||||
-----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----- |
March 21, 2005 Re: unclear "finally" documentation | ||||
---|---|---|---|---|
| ||||
Posted in reply to Thomas Kuehne | 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 |
Copyright © 1999-2021 by the D Language Foundation