[prev in list] [next in list] [prev in thread] [next in thread] 

List:       squeak-dev
Subject:    Re: Primitive fails on denied access
From:       Georg Gollmann <gollmann () edvz ! tuwien ! ac ! at>
Date:       1998-03-23 8:41:38
[Download RAW message or body]

>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



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic