RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
EInvalidArgument Class

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

Pascal
EInvalidArgument = class(EMathError);
C++
class EInvalidArgument : public EMathError;

Math

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.
 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!