qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alan Conway <acon...@redhat.com>
Subject Re: [c++] formatting exception and log messages.
Date Tue, 30 Jan 2007 20:16:50 GMT
On Tue, 2007-01-30 at 00:02 +0000, John O'Hara wrote:
> Nutritious and delicious.
> 
> Did the same on a project a while back (though with macros and code
> generation, back when C++ was mainly broken).
> As a pattern, it was a pleasure to live with and stood the test of time.
> 
> Also, do you have FILE and LINE on the exceptions generated?  That's a lot
> better than an anonymous string in a log file.

Yup, THROW_QPID_ERROR adds FILE & LINE to the message. Useful indeed.

Cheers,
Alan.


Mime
View raw message