System.SysUtils.EAssertionFailed

From RAD Studio API Documentation
Jump to: navigation, search

System.SysUtils.ExceptionSystem.TObjectEAssertionFailed

Delphi

EAssertionFailed = class(Exception);

C++

class PASCALIMPLEMENTATION EAssertionFailed : public Exception

Properties

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

Description

EAssertionFailed is the exception class for Delphi assertion failure.

EAssertionFailed is raised when an assertion fails in Delphi code.

Note: To raise this exception, use the Assert procedure. The exception is raised only in code compiled with the $ASSERTIONS ON directive.

See Also