diff options
author | JINMEI Tatuya <jinmei@isc.org> | 2012-07-30 18:55:19 +0200 |
---|---|---|
committer | JINMEI Tatuya <jinmei@isc.org> | 2012-07-30 18:55:19 +0200 |
commit | 90f167386a5405e571f58bddfec252a56e2f1e9c (patch) | |
tree | 5e1367c3d3f0ffc5e2a8a655a6333415caa8ca36 /src/lib/datasrc | |
parent | [2095] [2091a] removed redundant consts. (diff) | |
download | kea-90f167386a5405e571f58bddfec252a56e2f1e9c.tar.xz kea-90f167386a5405e571f58bddfec252a56e2f1e9c.zip |
[2095] tried to improve an exception what() message.
in response to a review comment.
Diffstat (limited to 'src/lib/datasrc')
-rw-r--r-- | src/lib/datasrc/memory/rdata_encoder.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/datasrc/memory/rdata_encoder.cc b/src/lib/datasrc/memory/rdata_encoder.cc index f256d44e79..c34bbe6856 100644 --- a/src/lib/datasrc/memory/rdata_encoder.cc +++ b/src/lib/datasrc/memory/rdata_encoder.cc @@ -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"); } } |