|
From: Luigi B. <lui...@gm...> - 2010-10-22 08:09:26
|
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 |