#include #include using namespace std; int main() { try { throw "Some error" ; } catch ( int& e1 ) { cout << "Integer Exception" << endl ; } catch( ... ) { cout << "Default Handler." << endl ; } return 0; }