Re: [twsocket] Why exceptions?

2005-07-12 Thread Francois PIETTE
: Piotr Hellrayzer Dałek [EMAIL PROTECTED] To: TWSocket twsocket@elists.org Sent: Friday, July 01, 2005 12:03 AM Subject: [twsocket] Why exceptions? Hi! I just wonder - why we have to use exceptions and exception handling so often? I mean, why exceptions, not function results? For example

[twsocket] Why exceptions?

2005-06-30 Thread Piotr Hellrayzer Dałek
Hi! I just wonder - why we have to use exceptions and exception handling so often? I mean, why exceptions, not function results? For example: procedure TNntpCli.List(DestStream : TStream); begin if FState nntpReady then raise NntpException.Create('Not ready for LIST');