Throw an error if updateCache is not overridden.