Isolated the result exception creation