RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TStreamedConnection.DoError Method

raises an exception for a specified exception object.

Pascal
procedure DoError(E: Exception); virtual;
C++
virtual __fastcall DoError(Exception E);

TStreamedConnection uses a separate thread when making interface calls to the application server. When that thread encounters an exception, it sends a message to the Window handle specified by the Handle property. The connection component uses DoError to raise those exceptions.

Note: DoError is called by the ThreadException method, which is the message handler for thread exceptions. It is also called when thread exception messages are taken from the message queue before they are received by the internal window procedure.
 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!