When these checks were originally added, we didn't have the nice canCauseException attribute. Now we do, so let's use it.