| 312 | } |
| 313 | |
| 314 | void MetadataBuilder::indexError(unsigned index, const char* functionName) |
| 315 | { |
| 316 | metadataError(functionName); |
| 317 | |
| 318 | if (index >= msgMetadata->items.getCount()) |
| 319 | { |
| 320 | (Arg::Gds(isc_invalid_index_val) << Arg::Num(index) << (string("IMetadataBuilder::") + |
| 321 | functionName)).raise(); |
| 322 | } |
| 323 | } |
| 324 | |
| 325 | |
| 326 | // Add an item based on a descriptor. |