Primitive fails on denied access
Georg Gollmann
gollmann at edvz.tuwien.ac.at
Mon Mar 23 08:41:38 UTC 1998
>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 at edvz.tuwien.ac.at
http://macos.tuwien.ac.at/Gollmann.html
More information about the Squeak-dev
mailing list
|