i didnt knew about exception handling in c++