]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[2095] tried to improve an exception what() message.
authorJINMEI Tatuya <jinmei@isc.org>
Mon, 30 Jul 2012 16:55:19 +0000 (09:55 -0700)
committerJINMEI Tatuya <jinmei@isc.org>
Mon, 30 Jul 2012 16:55:19 +0000 (09:55 -0700)
in response to a review comment.

src/lib/datasrc/memory/rdata_encoder.cc

index f256d44e7997efff801a88d9fb521c7e8c206ba1..c34bbe685690bf52e997b468bc3552f33bf0cae9 100644 (file)
@@ -340,7 +340,8 @@ public:
             updateOtherData();
         }
         if (current_field_ != encode_spec_->field_count) {
-            isc_throw(BadValue, "RDATA encoder finds missing field");
+            isc_throw(BadValue,
+                      "RDATA encoder didn't find all expected fields");
         }
     }