bug-commoncpp
[Top][All Lists]
Advanced

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

RE: C++ exceptions in persistent streams


From: erik_ohrnberger
Subject: RE: C++ exceptions in persistent streams
Date: Tue, 10 Jan 2006 15:14:40 -0500

OK, so nobody responded.  OK.

Figured it out for myself.  You have to enable the stream library exception
mechanism using the fstream.exceptions( <exception mask> ) 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 being thrown, so
don't know if the library even does this really.  Seems not to.




reply via email to

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