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 server. You should use a try…except block around all server calls to handle any EbrokerError exceptions that may occur.

For example:

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

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