System.SysUtils.Exception.RaiseOuterException

Aus RAD Studio API Documentation
Wechseln zu: Navigation, Suche

Delphi

class procedure RaiseOuterException(E: Exception); static;

C++

static void __fastcall RaiseOuterException(Exception* E);

Eigenschaften

Typ Sichtbarkeit Quelle Unit Übergeordnet
procedure
function
public
System.SysUtils.pas
System.SysUtils.hpp
System.SysUtils Exception

Beschreibung

RaiseOuterException löst eine Exception aus und fängt die aktuelle ab.

Rufen Sie RaiseOuterException aus einem except-Block auf, um eine neue Exception auszulösen und die aktuelle zu beizubehalten. RaiseOuterException löst eine neue Exception aus und legt die aktuelle als innere Exception fest. RaiseOuterException ist beim Erstellen von Exception-Ketten hilfreich.

Siehe auch