Throw an exception when the URL already exists.