Posted by
Luigi Ballabio on
URL: http://quantlib.414.s1.nabble.com/Re-QuantLib-svn-SF-net-SVN-quantlib-17435-trunk-QuantLib-ql-tp13349p13351.html
On Thu, 2010-10-21 at 15:07 -0500, Kakhkhor Abdijalilov wrote:
> The first clause will try to rethrow a sliced down copy of e.
> std::exception can't be constructed for a string. waht() method of the
> rethrown object will return some implementation dependent message, not
> the original error message.
Correct--see the attached test program. You're slicing the message
away, so it seems like you're doing the opposite of what you meant...
Later,
Luigi
--
These are my principles, and if you don't like them... Well, I have
others.
-- Groucho Marx
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev