#include #include void funky(void) { try { throw(std::string("This is a funky booboo")); } catch(const std::string& /*dummy*/ ) { std::cout << "I don't want to deal with this ...\n"; throw; } } int main() { try { funky(); } catch(const std::string& x) { std::cout << "Somebody threw me: " << x << std::endl; } std::cout << "*** End of Program ***\n"; }