Changeset 5747 for code/trunk/src/libraries/core/Loader.cc
- Timestamp:
- Sep 19, 2009, 11:17:51 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/libraries/core/Loader.cc
r5738 r5747 187 187 return false; 188 188 } 189 catch ( std::exception& ex)189 catch (...) 190 190 { 191 191 COUT(1) << std::endl; 192 192 COUT(1) << "An error occurred in Loader.cc while loading " << file->getFilename() << ":" << std::endl; 193 COUT(1) << ex.what() << std::endl; 194 COUT(1) << "Loading aborted." << std::endl; 195 return false; 196 } 197 catch (...) 198 { 199 COUT(1) << std::endl; 200 COUT(1) << "An unknown error occurred in Loader.cc while loading " << file->getFilename() << ":" << std::endl; 193 COUT(1) << Exception::handleMessage() << std::endl; 201 194 COUT(1) << "Loading aborted." << std::endl; 202 195 return false;
Note: See TracChangeset
for help on using the changeset viewer.