java.nio.file.ReadOnlyFileSystemException Java Examples
The following examples show how to use
java.nio.file.ReadOnlyFileSystemException.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: JrtFileSystem.java From Bytecoder with Apache License 2.0 | 4 votes |
static ReadOnlyFileSystemException readOnly() { return new ReadOnlyFileSystemException(); }
Example #2
Source File: JrtFileSystem.java From openjdk-jdk9 with GNU General Public License v2.0 | 4 votes |
static ReadOnlyFileSystemException readOnly() { return new ReadOnlyFileSystemException(); }
Example #3
Source File: HadoopFileSystem.java From jsr203-hadoop with Apache License 2.0 | 4 votes |
private void checkWritable() throws IOException { if (readOnly) throw new ReadOnlyFileSystemException(); }