System.SysUtils.EIntOverflow

From RAD Studio API Documentation
Jump to: navigation, search

System.SysUtils.EIntErrorSystem.SysUtils.EExternalSystem.SysUtils.ExceptionSystem.TObjectEIntOverflow

Delphi

EIntOverflow = class(EIntError);

C++

class PASCALIMPLEMENTATION EIntOverflow : public EIntError

Properties

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

Description

EIntOverflow is the exception class for integer calculations whose results are too large to fit in the allocated register.

EIntOverflow occurs when data is lost because an integer result is too large to retain.

Note: In Delphi Code, EIntOverflow is raised only if overflow checking is turned on. To turn on overflow checking, include the $Q+ directive in project source code, or select Project|Options, choose the Compiler tab, and check the Overflow-checking option in the dialog box.

Run-time exception information is saved in fields provided by EExternal.

Note: Floating-point overflows raise the EOverflow exception.

See Also