Internet Direct (Indy) Version 9.0.2 Beta
TIdTCPConnection.RaiseExceptionForCmdResult
Creates an exception for a response message.

procedure RaiseExceptionForCmdResult(axException: TClassIdException); virtual; overload;
Parameters
axException: TClassIdException
The exception class reference to be created.

Description
RaiseExceptionForCmdResult is a procedure used to raise an exception for a paricular response message. RaiseExceptionForCmdResult uses ResultNo and CmdResult to create the exception.

When axException is omitted, the exception class created is EIdProtocolReplyError.