System.Win.ScktComp.TServerClientThread.HandleException

De RAD Studio API Documentation
Aller à : navigation, rechercher

Delphi

procedure HandleException; virtual;

C++

virtual void __fastcall HandleException(void);

Propriétés

Type Visibilité  Source Unité  Parent
procedure
function
protected
System.Win.ScktComp.pas
System.Win.ScktComp.hpp
System.Win.ScktComp TServerClientThread

Description

affiche un message d'erreur en utilisant le thread VCL principal.

HandleException obtient l'objet exception en cours et appelle TApplication.ShowException (pour les descendants d'Exception) ou la procédure globale ShowException (pour les autres objets) pour afficher un message d'erreur. HandleException enveloppe l'appel à ShowException dans la méthode Synchronize pour qu'il soit adapté aux threads.

Voir aussi