Commit f5dc7406 authored by Mukund Sivaraman's avatar Mukund Sivaraman

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

parent 91455fb7
...@@ -187,7 +187,7 @@ private: ...@@ -187,7 +187,7 @@ private:
if (*rrclass != zone_class_) { if (*rrclass != zone_class_) {
// It doesn't really matter much what type of exception // It doesn't really matter much what type of exception
// we throw, we catch it just below. // we throw, we catch it just below.
isc_throw(isc::BadValue, "Class mismatch: " << *rrclass << isc_throw(InternalException, "Class mismatch: " << *rrclass <<
"vs. " << zone_class_); "vs. " << zone_class_);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment