"Error storing binary resource '" + key + "' in '" + getCanonicalName() +
"': the 'create' flag is false and the key is already in database");
}
}
InlineMetaMap map = inlineMetaService.getEmptyMap();
map.put("type", ResourceTypeReader.BINARY);
Value value = inlineMetaService.createValue(map, bytes, 0, bytes.length);
filer.writeRecord(key, value);
// update the meta for this document
updateDocumentMeta(key.toString());