www.digitalmars.com         C & C++   DMDScript  

D - exceptions in finally?

reply Immanuel Scholz <news kutzsche.net> writes:
Just wondering what is done when you raise an exception within
finally or destructors? Is there any terminate() to call in such 
cases?

-- 
Immanuel Scholz,   PGP: (Work 0x9216F1E7, Home 0x3B5DC02D)
Mar 12 2002
parent "Walter" <walter digitalmars.com> writes:
It's not allowed in a finally, but is in a destructor. It'll abort the
program.

"Immanuel Scholz" <news kutzsche.net> wrote in message
news:a6m1hm$12v4$1 digitaldaemon.com...
 Just wondering what is done when you raise an exception within
 finally or destructors? Is there any terminate() to call in such
 cases?

 --
 Immanuel Scholz,   PGP: (Work 0x9216F1E7, Home 0x3B5DC02D)
Mar 12 2002