Changeset 5782 for sandbox/src/libraries/util/Exception.cc
- Timestamp:
- Sep 24, 2009, 11:32:39 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.