add class/method information to WhitelistException