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.

[EMAIL PROTECTED] 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
Bug-commoncpp@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-commoncpp
begin:vcard
fn:David Sugar
n:Sugar;David
org:GNU Telephony
email;internet:[EMAIL PROTECTED]
tel;work:+1 201 215 2609
x-mozilla-html:FALSE
url:http://www.gnutelephony.org
version:2.1
end:vcard

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

Reply via email to