'Add delta to value in the cache. If the key does not exist, raise a
ValueError exception.'

def incr(self, key, delta=1):

    if (key not in self):
        raise ValueError(("Key    '%s'    not    found" % key))
    new_value = (self.get(key) + delta)
    self.set(key, new_value)
    return new_value
