throw an exception when link is not found