#include #include #include "obj.h" using namespace std; int main() { try { obj ob = 10; throw ob; } catch (obj ob) { cout << ob << "\n"; ++ob; } return EXIT_SUCCESS; }