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

Constructor for the object instance.

constructor CreateError(
    const AErr: Integer; 
    const AMsg: string
); virtual;
Parameters 
Description 
AErr 
Error number for the socket exception.
 
AMsg 
Message text for the socket exception. 

CreateError is a virtual constructor for the object instance. 

CreateError calls the inherited constructor using the value in AMsg as the content of the exception message. CreateError also sets the value in the LastError property to the value specified in AErr.

EIdSocketError.LastError

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