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

Constructor for the exception instance.

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

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