Destructors and Exceptions Throwing an exception in a destructor is risky Automatic variable destructors Are called during stack unwinding Which is part of exception handling Throwing an exception then will terminate() the program Best to stick to exceptions in constructors only (where possible)