Changeset 5774 for code/trunk/src/libraries/util
- Timestamp:
- Sep 23, 2009, 11:31:02 PM (15 years ago)
- Location:
- code/trunk/src/libraries/util
- Files:
-
- 4 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/libraries/util/CMakeLists.txt
r5749 r5774 19 19 20 20 SET_SOURCE_FILES(UTIL_SRC_FILES 21 Clipboard.cc22 21 CRC32.cc 23 22 Exception.cc -
code/trunk/src/libraries/util/Exception.cc
r5747 r5774 34 34 35 35 #include "Exception.h" 36 #include <CEGUIExceptions.h>37 36 38 37 namespace orxonox … … 106 105 return ex.what(); 107 106 } 108 catch (const CEGUI::Exception& ex)109 {110 #if CEGUI_VERSION_MAJOR == 0 && CEGUI_VERSION_MINOR < 6111 return GeneralException(ex.getMessage().c_str()).getDescription();112 #else113 return GeneralException(ex.getMessage().c_str(), ex.getLine(),114 ex.getFileName().c_str(), ex.getName().c_str()).getDescription();115 #endif116 }117 107 catch (...) 118 108 {
Note: See TracChangeset
for help on using the changeset viewer.