boolean valueExists = valueHolder.contains( value );
// Check we can add a new value
if ( !valueExists && !btree.isAllowDuplicates() )
{
throw new DuplicateValueNotAllowedException( "Duplicate values are not allowed" );
}
if ( this.revision != revision )
{
// The page hasn't been modified yet, we need to copy it first