RAD Studio |  |

Constructors In Exception Handling (C++)
See Also
Collapse All

Class constructors can throw exceptions if they cannot successfully construct an object. If a constructor throws an exception, that object's destructor is not necessarily called. Destructors are called only for the base classes and for those objects that were fully constructed inside the classes since entering the try block.

Note: This does not apply to VCL base classes.
See Also

Exception Handling Options

Unwinding Exceptions (C++)

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!