BaseException fix and cleanup.

This commit is contained in:
Matej Sekoranja
2011-01-28 19:50:05 +01:00
parent ad9633c8f6
commit 698f4911ba
6 changed files with 57 additions and 89 deletions

View File

@@ -176,9 +176,7 @@ class StatusCreateImpl : public StatusCreate {
return new StatusImpl(type, message);
else
{
std::string stackDump;
cause->toString(stackDump);
return new StatusImpl(type, message, stackDump);
return new StatusImpl(type, message, cause->what());
}
}