EurekaLog
Menu

EurekaLog 7 Manual

AcquireExceptionObject - EurekaLog 7 Documentation

Retains access to the exception object.

Unit

ELowLevel

Syntax

function AcquireExceptionObject: Pointer;

Return value

Exception object or nil if there is no exception object.

You must free this object by calling ReleaseExceptionObject.

Remarks

AcquireExceptionObject returns a pointer 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.

Note

This is compatibility procedure, which appears in ELowLevel only in old languages, which do not have a build-in AcquireExceptionObject.

See also



Send feedback... Build date: 2014-12-03
Last edited: 2014-12-03
PRIVACY STATEMENT
The documentation team uses the feedback submitted to improve the EurekaLog documentation. We do not use your e-mail address for any other purpose. We will remove your e-mail address from our system after the issue you are reporting has been resolved. While we are working to resolve this issue, we may send you an e-mail message to request more information about your feedback. After the issues have been addressed, we may send you an email message to let you know that your feedback has been addressed.

Permanent link to this article: http://www.eurekalog.com/help/eurekalog/topic_function_elowlevel_acquireexceptionobject.php