Changeset 5747 for code/trunk/src/libraries/core/TclThreadManager.cc
- Timestamp:
- Sep 19, 2009, 11:17:51 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/libraries/core/TclThreadManager.cc
r5738 r5747 37 37 38 38 #include "util/Convert.h" 39 #include "util/Exception.h" 39 40 #include "Clock.h" 40 41 #include "CommandExecutor.h" … … 285 286 catch (const Tcl::tcl_error& e) 286 287 { bundle->interpreter_ = 0; COUT(1) << "Tcl error while creating Tcl-interpreter (" << id_string << "): " << e.what() << std::endl; } 287 catch (const std::exception& e)288 { bundle->interpreter_ = 0; COUT(1) << "Error while creating Tcl-interpreter (" << id_string << "): " << e.what() << std::endl; }289 288 catch (...) 290 { bundle->interpreter_ = 0; COUT(1) << " An error occurred while creating a new Tcl-interpreter (" << id_string << ")"<< std::endl; }289 { bundle->interpreter_ = 0; COUT(1) << "Error while creating Tcl-interpreter (" << id_string << "): " << Exception::handleMessage() << std::endl; } 291 290 } 292 291
Note: See TracChangeset
for help on using the changeset viewer.