IRiakObject entity = bucket.fetch( ref.identity() ).execute();
if( entity == null )
{
throw new EntityNotFoundException( ref );
}
bucket.store( ref.identity(), toString() ).execute();
}
catch( RiakException ex )
{
throw new EntityStoreException( "Unable to apply entity change: updateEntity", ex );
}