Changeset 8806 for code/branches/output/src/libraries/core/Core.cc
- Timestamp:
- Jul 31, 2011, 5:15:13 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/output/src/libraries/core/Core.cc
r8799 r8806 128 128 catch (...) 129 129 { 130 COUT(1) << "Couldn't load module \"" << *it << "\": " << Exception::handleMessage() << std::endl;130 orxout(user_error) << "Couldn't load module \"" << *it << "\": " << Exception::handleMessage() << endl; 131 131 } 132 132 } … … 203 203 } 204 204 else 205 COUT(0) << "Error:Could not open file for documentation writing" << endl;205 orxout(internal_error) << "Could not open file for documentation writing" << endl; 206 206 } 207 207 } … … 321 321 { 322 322 // Exit the application if the Ogre config dialog was canceled 323 COUT(1) << Exception::handleMessage() << std::endl;323 orxout(user_error) << Exception::handleMessage() << endl; 324 324 exit(EXIT_FAILURE); 325 325 } … … 332 332 // and reloaded between throw and catch (access violation in MSVC). 333 333 // That's why we abort completely and only display the exception. 334 COUT(1) << "An exception occurred during upgrade to graphics. "335 << "That is unrecoverable. The message was:" << endl336 << Exception::handleMessage() << endl;334 orxout(user_error) << "An exception occurred during upgrade to graphics. " 335 << "That is unrecoverable. The message was:" << endl 336 << Exception::handleMessage() << endl; 337 337 abort(); 338 338 } … … 368 368 catch (...) 369 369 { 370 COUT(0) << "An exception occurred during 'unloadGraphics':" << Exception::handleMessage() << std::endl371 << "Another exception might be being handled which may lead to undefined behaviour!" << std::endl372 << "Terminating the program." << std::endl;370 orxout(user_error) << "An exception occurred during 'unloadGraphics':" << Exception::handleMessage() << endl 371 << "Another exception might be being handled which may lead to undefined behaviour!" << endl 372 << "Terminating the program." << endl; 373 373 abort(); 374 374 }
Note: See TracChangeset
for help on using the changeset viewer.