System.SysUtils.Exception.RaiseOuterException

De RAD Studio API Documentation
Aller à : navigation, rechercher

Delphi

class procedure RaiseOuterException(E: Exception); static;

C++

static void __fastcall RaiseOuterException(Exception* E);

Propriétés

Type Visibilité  Source Unité  Parent
procedure
function
public
System.SysUtils.pas
System.SysUtils.hpp
System.SysUtils Exception

Description

RaiseOuterException déclenche une exception et capture celle en cours.

Appelez la méthode RaiseOuterException depuis un bloc except pour déclencher une nouvelle exception et préserver celle en cours. RaiseOuterException déclenche une nouvelle exception et définit celle en cours en tant qu'exception interne. RaiseOuterException est utile lors de la création de chaînes d'exceptions.

Voir aussi