RPC HELP TRPCB EBrokerError

From VistApedia
Revision as of 15:27, 5 July 2015 by Kdtop (talk | contribs) (Created page with "<h2>EBrokerError</h2> <h3>Unit</h3> TRPCB <h3>Description</h3> The '''EBrokerError''' is an exception raised by the [[RPC_HELP_TRPCBroker|TRPCBroker]...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

EBrokerError

Unit

TRPCB

Description

The EBrokerError is an exception raised by the TRPCBroker component. This exception is raised when an error is encountered when communicating with the VistA M Server. You should use a try…except block around all server calls to handle any EbrokerError exceptions that may occur.

For example:

   try
     brkrRPCBroker1.Connected:= True;
   except
     on EBrokerError do begin
       ShowMessage('Connection to server could not be established!');
       Application.Terminate;
     end;
   end;

For descriptions/resolutions to specific error messages that can be displayed by Broker Error Messages, please refer to the Broker Error Messages topic.