The method FileDirectory>>primLookupEntryIn:index: fails when I try to read into a directory I don't have access (I don't have the right permissions). What would be the best fix? In such case, I would like to be informed that my request failed but would like to be able to continue (read the next directory for example). Luc
The method FileDirectory>>primLookupEntryIn:index: fails when I try to read into a directory I don't have access (I don't have the right permissions). What would be the best fix? In such case, I would like to be informed that my request failed but would like to be able to continue (read the next directory for example). Luc
Wrap your code in BlockContext>ifError: blocks.
Georg
---- Dipl.Ing. Georg Gollmann TU-Wien, EDV-Zentrum
phon:(+43-1) 58801 - 5848 fax: (+43-1) 587 42 11 mail:gollmann@edvz.tuwien.ac.at http://macos.tuwien.ac.at/Gollmann.html
squeak-dev@lists.squeakfoundation.org