System.SysUtils.Exception.GetBaseException

De RAD Studio API Documentation
Aller à : navigation, rechercher

Delphi

function GetBaseException: Exception; virtual;

C++

virtual Exception* __fastcall GetBaseException();

Propriétés

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

Description

GetBaseException renvoie l'exception la plus profonde.

Appelez la méthode GetBaseException pour obtenir l'exception la plus profonde. Si aucune exception interne n'a déclenché celle en cours, la méthode GetBaseException renvoie l'exception en cours. Sinon, GetBaseException inspecte les exceptions internes jusqu'à ce qu'elle trouve la première qui a déclenché la chaîne d'exceptions.

GetBaseException est aussi utilisée en tant que méthode accesseur get (en lecture) de la propriété BaseException.

Voir aussi