Monday, Mar 24, 2003Kate Gregory with material from Deitel and Deitel Rethrowing Sometimes you catch an exception so that you can handle it and allow the application to recover Other times you catch an exception just so that you can do some local cleanup In those circumstances, your catch block can rethrow the exception: catch (Ex ex) { cout << two() has a problem: << ex << endl; throw; }
{}