BIND 10 trac1253, updated. 8f3c0649785d7fb0df37a9ba9e0e20c978044bb7 [1253] catch ... as well

BIND 10 source code commits bind10-changes at lists.isc.org
Thu Oct 6 12:33:30 UTC 2011


The branch, trac1253 has been updated
       via  8f3c0649785d7fb0df37a9ba9e0e20c978044bb7 (commit)
      from  2a2aa4ccfb548b2a18b10e97acd80df324c5d4a8 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 8f3c0649785d7fb0df37a9ba9e0e20c978044bb7
Author: Jelte Jansen <jelte at isc.org>
Date:   Thu Oct 6 14:33:19 2011 +0200

    [1253] catch ... as well

-----------------------------------------------------------------------

Summary of changes:
 src/lib/datasrc/factory.cc |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

-----------------------------------------------------------------------
diff --git a/src/lib/datasrc/factory.cc b/src/lib/datasrc/factory.cc
index d925b69..70a73e8 100644
--- a/src/lib/datasrc/factory.cc
+++ b/src/lib/datasrc/factory.cc
@@ -77,8 +77,10 @@ DataSourceClientContainer::DataSourceClientContainer(const std::string& type,
             isc_throw(DataSourceError, error);
         }
     } catch (const std::exception& exc) {
-        isc_throw(DataSourceError, "Unknown uncaugt exception from " + type +
-                                   " createInstance" + exc.what());
+        isc_throw(DataSourceError, "Unknown uncaught exception from " + type +
+                                   " createInstance: " + exc.what());
+    } catch (...) {
+        isc_throw(DataSourceError, "Unknown uncaught exception from " + type);
     }
 }
 




More information about the bind10-changes mailing list