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

2006-02-13 Thread erik_ohrnberger
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:

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

2006-02-13 Thread David Sugar
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

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

2006-02-13 Thread David Sugar
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

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

2006-02-13 Thread erik_ohrnberger
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: . . . . __

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

2006-02-13 Thread erik_ohrnberger
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!) > >

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

2006-02-12 Thread David Sugar
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

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

2006-02-07 Thread erik_ohrnberger
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

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

2006-02-06 Thread erik_ohrnberger
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

RE: C++ exceptions in persistent streams

2006-01-10 Thread erik_ohrnberger
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