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