[Orxonox-commit 3730] r8410 - code/trunk/src/libraries/util
rgrieder at orxonox.net
rgrieder at orxonox.net
Fri May 6 04:39:20 CEST 2011
Author: rgrieder
Date: 2011-05-06 04:39:20 +0200 (Fri, 06 May 2011)
New Revision: 8410
Modified:
code/trunk/src/libraries/util/Exception.cc
Log:
CEGUI seems to throw C strings. We need to catch them as well.
Modified: code/trunk/src/libraries/util/Exception.cc
===================================================================
--- code/trunk/src/libraries/util/Exception.cc 2011-05-06 01:37:01 UTC (rev 8409)
+++ code/trunk/src/libraries/util/Exception.cc 2011-05-06 02:39:20 UTC (rev 8410)
@@ -104,6 +104,10 @@
{
return ex.what();
}
+ catch (const char* ex)
+ {
+ return ex;
+ }
catch (...)
{
COUT(0) << "BIG WARNING: Unknown exception type encountered."
More information about the Orxonox-commit
mailing list