From: Mukund Sivaraman Date: Mon, 17 Dec 2012 16:05:10 +0000 (+0530) Subject: [2431] Throw InternalException instead of BadValue in parseRRParams() X-Git-Tag: bind10-1.0.0-beta-release~13^2~5 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f5dc7406f61fb182aeed500fd39c1fd3b486d6c3;p=thirdparty%2Fkea.git [2431] Throw InternalException instead of BadValue in parseRRParams() --- diff --git a/src/lib/dns/master_loader.cc b/src/lib/dns/master_loader.cc index 57f855882d..bb07157ba7 100644 --- a/src/lib/dns/master_loader.cc +++ b/src/lib/dns/master_loader.cc @@ -187,7 +187,7 @@ private: if (*rrclass != zone_class_) { // It doesn't really matter much what type of exception // we throw, we catch it just below. - isc_throw(isc::BadValue, "Class mismatch: " << *rrclass << + isc_throw(InternalException, "Class mismatch: " << *rrclass << "vs. " << zone_class_); }