Changed exception type so that all tests currently fail.