class CleanUp { ~CleanUp () { // ... put common clean up code here } }; //... try { CleanUp dummy; //... } catch (IOError & e) { // ... } catch (RunTimeError & e) { // ... } // ... continue with execution

Previous slide Next slide Back to first slide View graphic version