+ if(exc_check->check(e))
+ {
+ pass_test();
+ debug(Debug::demangle(typeid(e).name()));
+ debug(e.what());
+ }
+ else
+ {
+ fail_test("Exception of incorrect type thrown");
+ debug(format("%s (expected %s)", Debug::demangle(typeid(e).name()), Debug::demangle(exc_check->get_type_info().name())));
+ debug(e.what());
+ }