This fixes the cucumber issues with subclass exceptions not counting as raised.