EIdEndOfStream is a
EIdException descendant that represents an exception type raised when an unexpected end of stream is encountered when reading lines of text from
TIdStream. EIdEndOfStream is raised in
TIdStream.ReadLn when the current stream position is beyond the indicated stream size. The text supplied in the EIdEndOfStream exception message includes the ClassName for the stream and the current stream position.