From: František Dvořák Date: Thu, 9 Aug 2012 15:08:07 +0000 (+0000) Subject: Properly catch all exceptions. X-Git-Tag: glite-lbjp-common-gss_R_3_2_4_1~14 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=6564b746b38d51fb9d210893b10454bdc737938c;p=jra1mw.git Properly catch all exceptions. --- diff --git a/org.glite.lb.logger-msg/examples/cmsclient.cpp b/org.glite.lb.logger-msg/examples/cmsclient.cpp index 5951cef..7b560db 100644 --- a/org.glite.lb.logger-msg/examples/cmsclient.cpp +++ b/org.glite.lb.logger-msg/examples/cmsclient.cpp @@ -159,6 +159,8 @@ public: e.printStackTrace(); } catch (Exception& e) { e.printStackTrace(); + } catch (...) { + fprintf(stderr, "Unknown Exception occurred.\n"); } }