Throw exception if container will be overwritten by a save.