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'm suggesting that it might be a good idea.
I said that I would prefer that FileSystemView uses the IOException
and the FileNotFoundException.
Niklas already explained that it won't be a good idea, and I back him on that. It does not mean we can't improve the current interface, by subclassing FtpException further, depending on the cases (and I proposed FtpFileNotFoundException, etc).

The idea is to keep the semantic of this interface : it's really deeply tied with FtpServer, it's _not_ a generic class, otherwise, it would be moved to commons-io :)



--
--
cordialement, regards,
Emmanuel Lécharny
www.iktek.com
directory.apache.org


Reply via email to