|
@@ -188,8 +188,8 @@ OptionDefinition::optionFactory(Option::Universe u, uint16_t type,
|
|
|
const RecordFieldsCollection& records = getRecordFields();
|
|
|
if (records.size() > values.size()) {
|
|
|
isc_throw(InvalidOptionValue, "number of data fields for the option"
|
|
|
- << " type " << type_ << " is greater than number of values"
|
|
|
- << " provided.");
|
|
|
+ << " type '" << getCode() << "' is greater than number"
|
|
|
+ << " of values provided.");
|
|
|
}
|
|
|
for (size_t i = 0; i < records.size(); ++i) {
|
|
|
writeToBuffer(util::str::trim(values[i]),
|