Ah, shoot, SiteLinksList is a map. It should be `setSiteLink` and never throw an exception. Then you will not need the code here.