[svn] commit: r2213 - /branches/trac221/src/bin/auth/auth_srv.cc
BIND 10 source code commits
bind10-changes at lists.isc.org
Tue Jun 22 09:01:12 UTC 2010
Author: zhanglikun
Date: Tue Jun 22 09:01:12 2010
New Revision: 2213
Log:
Avoid catch all the exceptions.
Modified:
branches/trac221/src/bin/auth/auth_srv.cc
Modified: branches/trac221/src/bin/auth/auth_srv.cc
==============================================================================
--- branches/trac221/src/bin/auth/auth_srv.cc (original)
+++ branches/trac221/src/bin/auth/auth_srv.cc Tue Jun 22 09:01:12 2010
@@ -348,7 +348,7 @@
axfr_client_.sendXfroutRequestInfo(io_message.getSocket().getNative(),
io_message.getData(),
io_message.getDataSize());
- } catch (const exception& err) { // XXX: avoid catch-all catch!!
+ } catch (const XfroutError& err) { // XXX: avoid catch-all catch!!
if (is_xfrin_connection_established_) {
axfr_client_.disconnect();
is_xfrin_connection_established_ = false;
More information about the bind10-changes
mailing list