[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-smalltalk] Exception in the socket code
From: |
Paolo Bonzini |
Subject: |
Re: [Help-smalltalk] Exception in the socket code |
Date: |
Fri, 25 Mar 2011 14:38:58 +0100 |
On Fri, Mar 25, 2011 at 14:33, Holger Hans Peter Freyther
<address@hidden> wrote:
> 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).
Are you sure the problem isn't in the arguments to #nextAvailable:?
Paolo
- [Help-smalltalk] Exception in the socket code, Holger Hans Peter Freyther, 2011/03/25
- Re: [Help-smalltalk] Exception in the socket code, Paolo Bonzini, 2011/03/25
- Re: [Help-smalltalk] Exception in the socket code, Holger Hans Peter Freyther, 2011/03/25
- Re: [Help-smalltalk] Exception in the socket code,
Paolo Bonzini <=
- Re: [Help-smalltalk] Exception in the socket code, Holger Hans Peter Freyther, 2011/03/25
- Re: [Help-smalltalk] Exception in the socket code, Paolo Bonzini, 2011/03/25
- Re: [Help-smalltalk] Exception in the socket code, Holger Hans Peter Freyther, 2011/03/25
- [Help-smalltalk] Re: Exception in the socket code, Paolo Bonzini, 2011/03/25
- Re: [Help-smalltalk] Re: Exception in the socket code, Holger Hans Peter Freyther, 2011/03/25
- Re: [Help-smalltalk] Re: Exception in the socket code, Paolo Bonzini, 2011/03/25
- Re: [Help-smalltalk] Re: Exception in the socket code, Holger Hans Peter Freyther, 2011/03/25
- Re: [Help-smalltalk] Re: Exception in the socket code, Paolo Bonzini, 2011/03/25
- Re: [Help-smalltalk] Re: Exception in the socket code, Holger Hans Peter Freyther, 2011/03/25
- Re: [Help-smalltalk] Re: Exception in the socket code, Holger Hans Peter Freyther, 2011/03/25