System.Math.EInvalidArgument

From RAD Studio API Documentation
Jump to: navigation, search

System.SysUtils.EMathErrorSystem.SysUtils.EExternalSystem.SysUtils.ExceptionSystem.TObjectEInvalidArgument

Delphi

EInvalidArgument = class(EMathError) end;

C++

class PASCALIMPLEMENTATION EInvalidArgument : public System::Sysutils::EMathError

Properties

Type Visibility Source Unit Parent
class public
System.Math.pas
System.Math.hpp
System.Math System.Math

Description

EInvalidArgument is the exception class for out-of-range parameters in specialized math and accounting functions.

EInvalidArgument is raised by some functions in the Math unit (mostly financial functions) when one of the parameters is out of range or makes the calculation impossible.

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

See Also