Well then. I guess there is nothing to be done at this point then.
Thanks much,
Erik.
> -Original Message-
> From: David Sugar [mailto:[EMAIL PROTECTED]
> Sent: Monday, February 13, 2006 3:47 PM
> To: Ohrnberger, Erik
> Cc: bug-commoncpp@gnu.org
> Subject: Re:
onday, February 13, 2006 1:42 PM
To: Ohrnberger, Erik
Cc: bug-commoncpp@gnu.org
Subject: Re: C++ exceptions in persistent streams (patch!)
Having thought about it, you are right, they should be
"PersistException". This is most consistent with other parts.
[EMAIL P
4 PM
To: Ohrnberger, Erik
Cc: bug-commoncpp@gnu.org
Subject: Re: C++ exceptions in persistent streams (patch!)
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 orig
t; Cc: bug-commoncpp@gnu.org
> Subject: Re: C++ exceptions in persistent streams (patch!)
>
>
> Having thought about it, you are right, they should be
> "PersistException". This is most consistent with other parts.
>
> [EMAIL PROTECTED] wrote:
. . . .
__
urces and
patch file providing.
Erik.
> -Original Message-
> From: David Sugar [mailto:[EMAIL PROTECTED]
> Sent: Sunday, February 12, 2006 4:04 PM
> To: Ohrnberger, Erik
> Cc: bug-commoncpp@gnu.org
> Subject: Re: C++ exceptions in persistent streams (patch!)
>
>
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 initi
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 on
Please find attached two patch files. They are for:
* commoncpp2-1.3.1/include/cc++/persist.h and
* commoncpp2-1.3.1/src/engine.cpp
This patch will apply changes needed to make the
void Engine::readObject(BaseObject* object) THROWS( Engine::Exception )
throw the i
OK, so nobody responded. OK.
Figured it out for myself. You have to enable the stream library exception
mechanism using the fstream.exceptions( ) method to do so.
Well, at least you get std::exceptions at that point. I've never seen the
PersistException or Exception (Engine::Exception) ever