Topic Path: Symbol Reference > Classes > TIdTCPConnection Class > TIdTCPConnection Methods > RaiseExceptionForLastCmdResult Method > RaiseExceptionForLastCmdResult Method ()
ContentsIndexHome
PreviousUpNext
TIdTCPConnection.RaiseExceptionForLastCmdResult Method ()

Raises an exception when an invalid response is received for the connection.

procedure RaiseExceptionForLastCmdResult; virtual; overload;

RaiseExceptionForLastCmdResult is an overloaded procedure used to raise an exception when an invalid response code is received from the peer connection. 

RaiseExceptionForLastCmdResult is used in the overloaded CheckResponse method, and allows raising an exception using an indicated class reference or an EIdReplyRFCError exception used in the implementation of LastCmdResult

RaiseExceptionForLastCmdResult uses the RaiseReplyError method in LastCmdResult to create an EIdReplyRFCError exception using the the values in LastCmdResult.

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.