[prev in list] [next in list] [prev in thread] [next in thread]
List: openjdk-nio-dev
Subject: Clarification about ClosedFileSystemException
From: Francis Galiegue <fgaliegue () gmail ! com>
Date: 2015-12-10 17:34:48
Message-ID: CALcybBA9KCOe4Nnavh6+T=r8v6-ap_aHddtd+r3zw64JZ0nViQ () mail ! gmail ! com
[Download RAW message or body]
Hello,
The javadoc says:
Unchecked exception thrown when an attempt is made to invoke an
operation on a file and the file system is closed
So, what it means that an operation is "made on a file"? What happens
if, for instance, I have a FileSystem instance which is closed and I
attempt to call, say, .newWatchService() on it? A FileSystem is not a
file...
--
Francis Galiegue, fgaliegue@gmail.com, https://github.com/fge
JSON Schema in Java: http://json-schema-validator.herokuapp.com
Parsers in pure Java: https://github.com/fge/grappa
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic