Throw an exception if we were unable to write to memcache.