[squeak-dev] Rio: exceptions documentation
Casimiro de Almeida Barreto
casimiro.barreto at gmail.com
Fri Nov 28 12:12:00 UTC 2008
Hello,
I had a code like:
[ aStream := CrLfFileStream new open: 'aGivenFileName' forWrite: false ]
on: FileDoesNotExistException do: [ :exception | <code ....> ].
It worked ok. But with:
[ aStream := 'aGivenFileName' asRio reader ] on:
FileDoesNotExistException do: [ :exception | <code ...> ].
things just don't work... Where I can find exceptions documentation (in
particular for Rio) ?
Besides, it seems that the atEnd message is delayed by one entry (in the
first case 1025 lines are correctly read and in the second case it goes
one line ahead in the file).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 259 bytes
Desc: OpenPGP digital signature
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20081128/9e3f29f9/signature.pgp
More information about the Squeak-dev
mailing list
|