[ObjectHandler-cvs] ObjectHandler/oh utilities.cpp,1.4,1.5
Brought to you by:
ericehlers,
nando
From: Eric E. <eri...@us...> - 2006-06-07 22:09:29
|
Update of /cvsroot/objecthandler/ObjectHandler/oh In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv8493/oh Modified Files: utilities.cpp Log Message: prevent unhandled exceptions Index: utilities.cpp =================================================================== RCS file: /cvsroot/objecthandler/ObjectHandler/oh/utilities.cpp,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** utilities.cpp 6 Jun 2006 12:57:57 -0000 1.4 --- utilities.cpp 6 Jun 2006 14:12:39 -0000 1.5 *************** *** 60,64 **** const std::string &message, const int &level) { ! Logger::instance().logMessage(message, level); } --- 60,68 ---- const std::string &message, const int &level) { ! // addins call this function from within their catch() ! // so this function must not throw ! try { ! Logger::instance().logMessage(message, level); ! } catch (...) {} } |