Internet Direct (Indy)
|
Constructor for the object instance.
constructor CreateError( const AErrorCode: Integer; const AReplyMessage: string ); virtual; reintroduce;
Parameters |
Description |
AErrorCode |
Numeric protocol response code for the exception. |
AReplyMessage |
Textual message for the protocol response exception. |
CreateError is an alternate constructor for the exception instance, and initializes the exception with the ErrorCode and Message indicated in AErrorCode and AReplyMessage.
Use TIdReplyRFC.RaiseReplyError to create and raise an instance of the exception using an RFC response.
Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved. Website http://www.indyproject.org. Post feedback to the Indy Documentation newsgroup. |