Clarification about ClosedFileSystemException

Francis Galiegue fgaliegue at gmail.com
Thu Dec 10 17:34:48 UTC 2015


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 at 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


More information about the nio-dev mailing list