Most people say never throw an exception out of a destructor - doing so results in undefined behavior. Stroustrup makes the point that \"the vector destructor e
Set an alarm event. Typically alarm events are better form of notifying failure while cleaning up objects