commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mario Ivankovits <ma...@ops.co.at>
Subject Re: [vfs] directory traversing with webdav
Date Thu, 09 Jun 2005 14:00:29 GMT
Torsten Curdt wrote:
>>>May I suggest to throw an exception if the root does not
>>>exist? I think a FileNotFound exception would be appropriate. 
>>>      
>>for VFS its not possible to throw a FileNotFoundException. :-(
>>    
>Huh? Don't understand how that is related.
>
>AFAIU in findFiles() in AbstractFileObject
>it's being checked whether the root exists or not.
>Instead of just skipping the traversal I would
>throw an exception.
>  
Oh, I see, I thought you mean VFS should throw this exception in general.
Sure, just for findFile this could be possible.
I'll see what junit mean to your suggestion ;-)

Ciao,
---
Mario


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message