BIND 10 trac1627, updated. 94dfc186892e04cf0a7aa627fe0cd519f96c9eec [1627] Add comment about use of try-catch blocks
BIND 10 source code commits
bind10-changes at lists.isc.org
Fri Mar 30 06:35:59 UTC 2012
The branch, trac1627 has been updated
via 94dfc186892e04cf0a7aa627fe0cd519f96c9eec (commit)
from ec5d0a92e4116303f8af5bdaac93f369fe5fde3a (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 94dfc186892e04cf0a7aa627fe0cd519f96c9eec
Author: Mukund Sivaraman <muks at isc.org>
Date: Fri Mar 30 03:47:06 2012 +0530
[1627] Add comment about use of try-catch blocks
-----------------------------------------------------------------------
Summary of changes:
src/bin/auth/auth_config.cc | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/bin/auth/auth_config.cc b/src/bin/auth/auth_config.cc
index 69e66cf..cbd4ba9 100644
--- a/src/bin/auth/auth_config.cc
+++ b/src/bin/auth/auth_config.cc
@@ -166,6 +166,10 @@ MemoryDatasourceConfig::build(ConstElementPtr config_value) {
<< origin->str());
}
+ // Note: we don't want to have such small try-catch blocks for each
+ // specific error. We may eventually want to introduce some unified
+ // error handling framework as we have more configuration parameters.
+ // See bug #1627 for the relevant discussion.
InMemoryZoneFinder* imzf = NULL;
try {
imzf = new InMemoryZoneFinder(rrclass_, Name(origin_txt));
More information about the bind10-changes
mailing list