|
From: Luigi B. <lui...@gm...> - 2010-10-21 16:31:27
|
On Thu, 2010-10-21 at 16:14 +0000, na...@us... wrote: > Revision: 17435 > http://quantlib.svn.sourceforge.net/quantlib/?rev=17435&view=rev > Author: nando > Date: 2010-10-21 16:14:28 +0000 (Thu, 21 Oct 2010) > > Log Message: > ----------- > added specialized handling of std::exception > > @@ -138,6 +142,9 @@ > // case of bootstrapping > try { > performCalculations(); > + } catch (std::exception& e) { > + calculated_ = false; > + throw e; > } catch (...) { > calculated_ = false; > throw; Nando, that's not specialized. The two catch clauses do the same thing (i.e., the same exception that's caught is rethrown.) Did you have any problems with the previous version? What behavior did you see that you were trying to fix? Luigi -- There are no rules of architecture for a castle in the clouds. -- Gilbert K. Chesterton |