[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-smalltalk] Exception in the socket code

From: Holger Hans Peter Freyther
Subject: Re: [Help-smalltalk] Exception in the socket code
Date: Fri, 25 Mar 2011 14:33:57 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20110307 Fedora/3.1.9-0.39.b3pre.fc14 Lightning/1.0b2 Thunderbird/3.1.9

On 03/25/2011 01:08 PM, Paolo Bonzini wrote:

> The correct #ifFail: would probably be to check errno.
> We should also look for cases where raising an exception is appropriate
> instead of calling the failure block.

When the fileOp primitive fails we still go through File>>#checkError to at
least check the errno. This means that in this case the errno was not set, I
agree that it would be nice to know how the read has failed but the problem is
hard to reproduce (and means dropping out of vpn).


reply via email to

[Prev in Thread] Current Thread [Next in Thread]