Contents

Properties

Description

AcquireExceptionObject returns a TObject to the current exception object and prevents the exception object from being deallocated when the current exception handler exits.

Note:AcquireExceptionObject increments the exception object's reference count. Make sure that the reference count is decremented when the exception object is no longer needed. This happens automatically if you use the exception object to raise the exception again. In all other cases, every call to AcquireExceptionObject must have a matching call to ReleaseExceptionObject. AcquireExceptionObject/ReleaseExceptionObject sequences can be nested.