Boost logo

Boost Users :

Subject: [Boost-users] boost serialize, exception "eaten" up...
From: Robert Bielik (robert.bielik_at_[hidden])
Date: 2014-02-23 10:06:00


Hi all,

I'm trying to make a deserialization user cancellable, and I thought, hey, if I throw an exception in a progress handler (used when reading chars from input stream), that would
propagate through the load hieararchy and I can catch it at top level...

Nope... it gets caught in iostream (VS2012, row 776) :( , so the _CATCH_IO_END is probably a catch(...). Not very nice, and quite counter-productive if you ask me.

Any ideas how to get that exception out ?

Regards
/Robert


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net