[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: C++ exceptions
From:       Guillaume Laurent <glaurent () telegraph-road ! org>
Date:       2005-12-05 13:49:50
Message-ID: 4394457E.2070308 () telegraph-road ! org
[Download RAW message or body]

Michael Buesch wrote:
> What if the exception raises in writeFooter()? Don't you want
> to unwind writeContent() and writeHeader()?
>   
You'll probably want to simply delete what has already been written. Any 
post-exception cleanup should be done in the catch() {...} block.

 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic