summaryrefslogtreecommitdiffstats
path: root/src/lib/datasrc
diff options
context:
space:
mode:
authorJINMEI Tatuya <jinmei@isc.org>2012-07-30 18:55:19 +0200
committerJINMEI Tatuya <jinmei@isc.org>2012-07-30 18:55:19 +0200
commit90f167386a5405e571f58bddfec252a56e2f1e9c (patch)
tree5e1367c3d3f0ffc5e2a8a655a6333415caa8ca36 /src/lib/datasrc
parent[2095] [2091a] removed redundant consts. (diff)
downloadkea-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.cc3
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");
}
}