Re: Exceptions of the FileSystemView

2008-10-02 Thread Andrea Francia
Emmanuel Lecharny wrote: Andrea Francia wrote: That does not mean FtpException should not inherit from IoException. This is also an option. Please, consider that I start the discussion about the exception thrown the FileSystemView methods. I never said that an FtpException should inher

Re: Exceptions of the FileSystemView

2008-10-02 Thread Emmanuel Lecharny
Andrea Francia wrote: That does not mean FtpException should not inherit from IoException. This is also an option. Please, consider that I start the discussion about the exception thrown the FileSystemView methods. I never said that an FtpException should inherith from IOException. I'

Re: Exceptions of the FileSystemView

2008-10-02 Thread Andrea Francia
2008/10/2 Emmanuel Lecharny <[EMAIL PROTECTED]>: > Andrea Francia wrote: >> >> 2008/10/2 Steve Ulrich <[EMAIL PROTECTED]>: >> >>> >>> Hi! >>> >>> Niklas Gustavsson [mailto:[EMAIL PROTECTED] wrote Yes, I'm aware that we can chain and replace exceptions thrown by the various

Re: Exceptions of the FileSystemView

2008-10-02 Thread Andrea Francia
2008/10/2 Emmanuel Lecharny <[EMAIL PROTECTED]>: > Andrea Francia wrote: >> >> 2008/10/2 Steve Ulrich <[EMAIL PROTECTED]>: >> >>> >>> Hi! >>> >>> Niklas Gustavsson [mailto:[EMAIL PROTECTED] wrote Yes, I'm aware that we can chain and replace exceptions thrown by the various

Re: Exceptions of the FileSystemView

2008-10-02 Thread Emmanuel Lecharny
Andrea Francia wrote: 2008/10/2 Steve Ulrich <[EMAIL PROTECTED]>: Hi! Niklas Gustavsson [mailto:[EMAIL PROTECTED] wrote Yes, I'm aware that we can chain and replace exceptions thrown by the various protocols, that was not my concern. My question was if IOExceptions semantics matches t

Re: Exceptions of the FileSystemView

2008-10-02 Thread Niklas Gustavsson
On Thu, Oct 2, 2008 at 2:49 PM, Andrea Francia <[EMAIL PROTECTED]> wrote: > IMHO The FileSystemView should be agnostic more as possible about the > FtpServer. > The FileSystemView represents a FileSystem and should be also possible > so one can reuse it with something different like a, perhaps > N

Re: Exceptions of the FileSystemView

2008-10-02 Thread Andrea Francia
2008/10/2 Emmanuel Lecharny <[EMAIL PROTECTED]>: > Andrea Francia wrote: >> >> 2008/10/2 Steve Ulrich <[EMAIL PROTECTED]>: >> >>> >>> I had similar discussions about the need of own exceptions, always with >>> the same background: laziness and fear of complexity. >>> The argumentation always remind

Re: Exceptions of the FileSystemView

2008-10-02 Thread Andrea Francia
2008/10/2 Steve Ulrich <[EMAIL PROTECTED]>: > Hi! > >> Niklas Gustavsson [mailto:[EMAIL PROTECTED] wrote >> >> Yes, I'm aware that we can chain and replace exceptions thrown by the >> various protocols, that was not my concern. My question was if >> IOExceptions semantics matches the error conditio

Re: Exceptions of the FileSystemView

2008-10-02 Thread Emmanuel Lecharny
Andrea Francia wrote: 2008/10/2 Steve Ulrich <[EMAIL PROTECTED]>: I had similar discussions about the need of own exceptions, always with the same background: laziness and fear of complexity. The argumentation always reminds me on the Exceptions part of the mindprod "unmain"-Site: "Subclass

Re: Exceptions of the FileSystemView

2008-10-02 Thread Andrea Francia
2008/10/2 Steve Ulrich <[EMAIL PROTECTED]>: > I had similar discussions about the need of own exceptions, always with the > same background: laziness and fear of complexity. > The argumentation always reminds me on the Exceptions part of the mindprod > "unmain"-Site: > "Subclassing exceptions is

Re: AW: Exceptions of the FileSystemView

2008-10-02 Thread Emmanuel Lecharny
Steve Ulrich wrote: Hi! Niklas Gustavsson [mailto:[EMAIL PROTECTED] wrote Yes, I'm aware that we can chain and replace exceptions thrown by the various protocols, that was not my concern. My question was if IOExceptions semantics matches the error conditions that we talk about here. From th

AW: Exceptions of the FileSystemView

2008-10-02 Thread Steve Ulrich
Hi! > Niklas Gustavsson [mailto:[EMAIL PROTECTED] wrote > > Yes, I'm aware that we can chain and replace exceptions thrown by the > various protocols, that was not my concern. My question was if > IOExceptions semantics matches the error conditions that we talk about > here. From the Javadoc: "Sig

Re: Exceptions of the FileSystemView

2008-10-02 Thread Niklas Gustavsson
On Thu, Oct 2, 2008 at 12:13 PM, Andrea Francia <[EMAIL PROTECTED]> wrote: [snip] Yes, I'm aware that we can chain and replace exceptions thrown by the various protocols, that was not my concern. My question was if IOExceptions semantics matches the error conditions that we talk about here. From

Re: Exceptions of the FileSystemView

2008-10-02 Thread Andrea Francia
2008/10/2 Niklas Gustavsson <[EMAIL PROTECTED]>: > On Wed, Oct 1, 2008 at 11:29 PM, Andrea Francia <[EMAIL PROTECTED]> wrote: >> Here the FileSystemView interface declaration: >> >> public interface FileSystemView { >> FileObject getHomeDirectory() throws FtpException; >> FileObject getCurrentD

Re: Exceptions of the FileSystemView

2008-10-02 Thread Niklas Gustavsson
On Wed, Oct 1, 2008 at 11:29 PM, Andrea Francia <[EMAIL PROTECTED]> wrote: > Here the FileSystemView interface declaration: > > public interface FileSystemView { > FileObject getHomeDirectory() throws FtpException; > FileObject getCurrentDirectory() throws FtpException; > boolean changeDirect

Exceptions of the FileSystemView

2008-10-01 Thread Andrea Francia
Here the FileSystemView interface declaration: public interface FileSystemView { FileObject getHomeDirectory() throws FtpException; FileObject getCurrentDirectory() throws FtpException; boolean changeDirectory(String dir) throws FtpException; FileObject getFileObject(String file) thro