Skip to content

Files

Latest commit

 

History

History
11 lines (6 loc) · 347 Bytes

exceptThrowInDestructor.md

File metadata and controls

11 lines (6 loc) · 347 Bytes

Pattern: Except throw in destructor

Issue: -

Description

The class is not safe because its destructor throws an exception. If Class is used and an exception is thrown that is caught in an outer scope the program will terminate.

Further Reading