Mailinglist Archive: zypp-devel (114 mails)
| < Previous | Next > |
Re: [zypp-devel] Exception history
- From: Martin Vidner <mvidner@xxxxxxx>
- Date: Fri, 27 Jul 2007 14:58:22 +0200
- Message-id: <20070727125822.GD1694@xxxxxxxxxxxxxxxx>
On Fri, Jul 27, 2007 at 02:54:08PM +0200, Michael Andres wrote:
> > > newerr.rember( olderr_r );
> >
> > Good, in existing code only one line is added. How about operator +=
> > as an alias? :-)
>
> No. It is more an assignment and not a +. Remember replaces any existing
> history.
I see, makes sense.
> ...
> So: ERR << error << endl << error.historyAsString();
exc.ellent();
--
Martin Vidner, YaST developer
http://en.opensuse.org/User:Mvidner
Kuracke oddeleni v restauraci je jako fekalni oddeleni v bazenu
--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx
> > > newerr.rember( olderr_r );
> >
> > Good, in existing code only one line is added. How about operator +=
> > as an alias? :-)
>
> No. It is more an assignment and not a +. Remember replaces any existing
> history.
I see, makes sense.
> ...
> So: ERR << error << endl << error.historyAsString();
exc.ellent();
--
Martin Vidner, YaST developer
http://en.opensuse.org/User:Mvidner
Kuracke oddeleni v restauraci je jako fekalni oddeleni v bazenu
--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx
| < Previous | Next > |