Throw exception to test harness