Topic Path: Symbol Reference > Classes > EIdSMTPReplyError Class > EIdSMTPReplyError Methods > CreateError Constructor
ContentsIndexHome
PreviousUpNext
EIdSMTPReplyError.CreateError Constructor

Constructor for the exception instance.

constructor CreateError(
    const AErrCode: Integer; 
    AEnhanced: TIdSMTPEnhancedCode; 
    const AReplyMessage: string
); reintroduce;
Parameters 
Description 
AErrCode 
Numeric SMTP response code for the exception
 
AEnhanced 
The SMTP Enhanced Status Code for the exception.
 
AReplyMessage 
The enhanced status code and message text for the exception. 

CreateError is the reintroduced constructor for the exception instance. 

CreateError calls the inherited CreateError constructor using AErrCode and AReplyMessage as arguments 

CreateError initializes the TIdSMTPEnhancedCode instance assigned to the EnhancedCode property and sets the enhanced reply to the value in AReplyMessage.

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