From 6564b746b38d51fb9d210893b10454bdc737938c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Franti=C5=A1ek=20Dvo=C5=99=C3=A1k?= Date: Thu, 9 Aug 2012 15:08:07 +0000 Subject: [PATCH] Properly catch all exceptions. --- org.glite.lb.logger-msg/examples/cmsclient.cpp | 2 ++ 1 file changed, 2 insertions(+) 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"); } } -- 1.8.2.3