Browse Source

[2431] Throw InternalException instead of BadValue in parseRRParams()

Mukund Sivaraman 12 years ago
parent
commit
f5dc7406f6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/lib/dns/master_loader.cc

+ 1 - 1
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_);
         }