Changeset 5747 for code/trunk/src/Orxonox.cc
- Timestamp:
- Sep 19, 2009, 11:17:51 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/Orxonox.cc
r5738 r5747 45 45 46 46 #include "util/Debug.h" 47 #include "util/Exception.h" 47 48 #include "orxonox/Main.h" 48 49 … … 67 68 #endif 68 69 } 69 catch (const std::exception& ex)70 {71 COUT(0) << "Orxonox failed to initialise: " << ex.what() << std::endl;72 COUT(0) << "Terminating program." << std::endl;73 return 1;74 }75 70 catch (...) 76 71 { 77 COUT(0) << "Orxonox failed to initialise: " << std::endl;72 COUT(0) << "Orxonox failed to initialise: " << orxonox::Exception::handleMessage() << std::endl; 78 73 COUT(0) << "Terminating program." << std::endl; 79 74 return 1;
Note: See TracChangeset
for help on using the changeset viewer.