]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[2431] Throw InternalException instead of BadValue in parseRRParams()
authorMukund Sivaraman <muks@isc.org>
Mon, 17 Dec 2012 16:05:10 +0000 (21:35 +0530)
committerMukund Sivaraman <muks@isc.org>
Mon, 17 Dec 2012 16:05:10 +0000 (21:35 +0530)
src/lib/dns/master_loader.cc

index 57f855882d5546e8002fffda9a45ec4bc667b589..bb07157ba73dc1bdc643fd1582a1218146d52c25 100644 (file)
@@ -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_);
         }