Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 18, 2010, 12:08:05 AM (14 years ago)
Author:
rgrieder
Message:

Only catch exceptions you actually expect. And rethrow unknown exceptions ("…" can also catch internal Microsoft exceptions like floating point exception).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/libraries/core/TclThreadManager.cc

    r7165 r7174  
    287287        catch (const Tcl::tcl_error& e)
    288288        {   bundle->interpreter_ = 0; COUT(1) << "Tcl error while creating Tcl-interpreter (" << id_string << "): " << e.what() << std::endl;   }
    289         catch (...)
    290         {   bundle->interpreter_ = 0; COUT(1) << "Error while creating Tcl-interpreter (" << id_string << "): " << Exception::handleMessage() << std::endl;   }
    291289    }
    292290
Note: See TracChangeset for help on using the changeset viewer.