Set ThrowAll config before testing for exception