Talk:System.Math.EInvalidArgument

From RAD Studio API Documentation
Jump to: navigation, search

For this Note

On Windows, because EInvalidArgument descends (indirectly) from EExternal, it saves the Windows exception record (if there is one) in its ExceptionRecord data structure.

Not only Windows platform, EInvalidArgument descends (indirectly) from EExternal exception class. but this Math.EInvalidArgument exceptions is NOT external exception.

In contrast to other EMathError dependents (for example EInvalidOp or EZeroDivide), EInvalidArgument is one of Delphi language defined exception.

ExceptionRecord on Windows platforms set to NIL, and ExceptionAddress, AccessAddress and SignalNumber on POSIX platforms are set to ZERO.


--Tarisawa (talk) 22:56, 17 February 2015 (PST)