Changeset 7174 for code/trunk/src/libraries/core/TclBind.cc
- Timestamp:
- Aug 18, 2010, 12:08:05 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/libraries/core/TclBind.cc
r6417 r7174 93 93 catch (Tcl::tcl_error const &e) 94 94 { COUT(1) << "Tcl error while creating Tcl-interpreter: " << e.what() << std::endl; } 95 catch (...)96 { COUT(1) << "Error while creating Tcl-interpreter: " << Exception::handleMessage() << std::endl; }97 95 } 98 96 } … … 114 112 catch (Tcl::tcl_error const &e) 115 113 { COUT(1) << "Tcl error while creating Tcl-interpreter: " << e.what() << std::endl; COUT(1) << "Error: Tcl isn't properly initialized. Orxonox might possibly not work like that." << std::endl; } 116 catch (...)117 { COUT(1) << "Error while creating Tcl-interpreter: " << Exception::handleMessage() << std::endl; COUT(1) << "Error: Tcl isn't properly initialized. Orxonox might possibly not work like that." << std::endl; }118 114 119 115 return interpreter; … … 175 171 catch (Tcl::tcl_error const &e) 176 172 { COUT(1) << "tcl> Error: " << e.what() << std::endl; } 177 catch (...)178 { COUT(1) << "Error while executing Tcl: " << Exception::handleMessage() << std::endl; }179 173 } 180 174 … … 196 190 catch (Tcl::tcl_error const &e) 197 191 { COUT(1) << "Tcl error: " << e.what() << std::endl; } 198 catch (...)199 { COUT(1) << "Error while executing Tcl: " << Exception::handleMessage() << std::endl; }200 192 201 193 return false;
Note: See TracChangeset
for help on using the changeset viewer.