bug-commoncpp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: C++ exceptions in persistent streams (patch!)


From: David Sugar
Subject: Re: C++ exceptions in persistent streams (patch!)
Date: Sun, 12 Feb 2006 16:04:01 -0500
User-agent: Thunderbird 1.5 (X11/20051201)

Originally persist had a completely different exception system of it's own at a time that Common C++ did not have a standardized exception model, as the code has separate origin. I you are correct that it should be consolidated for consistency. This was probably overlooked when that was initially done.

address@hidden wrote:
While reviewing the code in engine.cpp, I noticed that there were multiple
types of exceptions:

        ost::Exceptions
                |
                V
        ost::PersistException
                |
                V
        ost::Engine::Exception

It seems to be that Engine::Engine is the only method that throws a
PersistException.  Shouldn't it also throw an Engine::Exception for
consistency?




_______________________________________________
Bug-commoncpp mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/bug-commoncpp

Attachment: dyfet.vcf
Description: Vcard


reply via email to

[Prev in Thread] Current Thread [Next in Thread]