Fixed compiler error when writing multiple CHECK_THROWS in one scope