#include #include int main(int argc, char **argv) { //* cout << "Testing throwing/catching Poco Exception" << endl; try { throw Poco::Exception("test"); } catch(Poco::Exception &exc) { cout << "caught" << endl; } //*/ cout << "Testing throwing/catching std exception" << endl; try { throw std::exception(); } catch(std::exception &exc) { cout << "caught" << endl; } return 0; }