Changeset 5782 for sandbox/src/libraries/util
- Timestamp:
- Sep 24, 2009, 11:32:39 AM (15 years ago)
- Location:
- sandbox/src/libraries/util
- Files:
-
- 4 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sandbox/src/libraries/util/CMakeLists.txt
r5749 r5782 19 19 20 20 SET_SOURCE_FILES(UTIL_SRC_FILES 21 Clipboard.cc22 21 CRC32.cc 23 22 Exception.cc -
sandbox/src/libraries/util/Exception.cc
r5747 r5782 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.