1 Mar 2009 07:15
Re: Server/Client problems
Hello Roger Thanks for your answer. I know that the example was not very good. But my aime was to understand the mechanisme of the eiffel fault managment with rescue and retry. Is there any good documentation about that? We are getting away from the main subject. My problem is that there always apears an error when I tried to connect via TCP/IP to a server that isn't up. I make the connection via the NETWORK_STRAM_SOCKET and with the feature connect. And there is a rescue and retry mechanisme but why doens't it work? Hope that somebody can help me. Regards Wyden S. ________________________________ From: "rfo@..." <rfo@...> To: eiffel_software@... Sent: Saturday, February 28, 2009 3:15:16 PM Subject: RE: [eiffel_software] Server/Client problems Hello Wyden! If you know the file does not exist at that point (you don't really, but that's a separate issue), why are you trying again? I think you must be taking the example too literally. If what you want is to fail gracefully when an expected file does not exists, then simply report that and fall through to exit. If what you want is to check for the existence of a file for some normal logic path, then use your logic, not the exception mechanism. It is not uncommon for some programmers to blur the distinction between exceptions and normal logic. Please don't do that. If you think of an(Continue reading)
Could anyone come to rescue?...
Regards,
Rosivaldo.
-----Mensagem Original-----
De: Helmut Brandl
Para:
RSS Feed