Internet Direct (Indy)
Home
PreviousUpNext
EIdHTTPProtocolException.CreateError Constructor

Constructor for the exception instance.

Pascal
constructor CreateError(
    const anErrCode: Integer; 
    const asReplyMessage: string; 
    const asErrorMessage: string
); virtual; reintroduce;
Parameters 
Description 
anErrCode 
Numeric error code from the HTTP response.
 
asReplyMessage 
General description of the error.
 
asErrorMessage 
Context specific text for the error message. CreateError also assigns the value in asErrorMessage to the ErrorMessage property prior to raising the exception. 

CreateError is the constructor for the exception. CreateError calls the inherited CreateError method using the anErrCode and asReplyMessage

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.