Section: Chapter 13, Exception Handling
Problem:
The chapter covers raise, try..except, try..finally, and exception chaining, but never documents ExceptObject/ExceptAddr (retrieving the current exception/address from anywhere in a handler) or AcquireExceptionObject/ReleaseExceptionObject (the sanctioned way to keep an exception object alive past the handler, e.g. to hand to another thread) — directly relevant to the reraise/chaining semantics this chapter otherwise covers.
Suggested fix:
Add a short subsection for these four SysUtils routines, including the ownership-transfer caveat for Acquire/Release.
Section: Chapter 13, Exception Handling
Problem:
The chapter covers
raise,try..except,try..finally, and exception chaining, but never documentsExceptObject/ExceptAddr(retrieving the current exception/address from anywhere in a handler) orAcquireExceptionObject/ReleaseExceptionObject(the sanctioned way to keep an exception object alive past the handler, e.g. to hand to another thread) — directly relevant to the reraise/chaining semantics this chapter otherwise covers.Suggested fix:
Add a short subsection for these four SysUtils routines, including the ownership-transfer caveat for Acquire/Release.