[jsr360-observers] [jsr360-experts] Re: Fwd: Reminder: CLDC 8 / JSR 360 EG call - Conference Bridge
- From: Werner Keil <
- Subject: [jsr360-observers] [jsr360-experts] Re: Fwd: Reminder: CLDC 8 / JSR 360 EG call - Conference Bridge
- Date: Wed, 27 Feb 2013 15:42:08 +0100
- List-id: <jsr360-experts.jsr360.java.net>
Following the discussion about NIO, please could we clarify why java.nio.file.ClosedFileSystemException
was intended to be IllegalArgumentException, hence a RuntimeException, while java.nio.channels.ClosedChannelException from NIO (as far back as JDK 1.4) extends IOException?
I understand, ClsedFileSystemException may not be a FileSystemException (which has e.g. getFile() and other methods that no longer make sense in this case) but to be consistent with e.g. ClosedChannelException, it should be an IOException, regardless if that is checked or unchecked (it is checked, but that's historically grown and can't be changed I guess
Thanks and Regards,
On Wed, Feb 27, 2013 at 12:56 PM, <
many thanks for your comments. Let's talk about it on today's call.