#include #include Int_t except_script() //load except_class.cpp before { Int_t res = 0; try{ SomeClass a; TVectorD v(0); TVectorD w = a.First(v); res = 1; } catch(exception &e){ cout << "catched exception " << e.What() <