893N/A if (supportsLinks) {
893N/A } catch (FileAlreadyExistsException x) { }
893N/A if (supportsLinks) {
893N/A } catch (FileAlreadyExistsException x) { }
893N/A } catch (NonReadableChannelException x) {
3471N/A try (SeekableByteChannel sbc = Files.newByteChannel(file, WRITE, CREATE, TRUNCATE_EXISTING)) {
893N/A if (!supportsLinks)
893N/A throw new RuntimeException();
893N/A } catch (IOException x) {
3471N/A try (SeekableByteChannel ch = Files.newByteChannel(file, READ, NOSHARE_WRITE, NOSHARE_DELETE)) {
3471N/A try (SeekableByteChannel ch = Files.newByteChannel(file, READ, NOSHARE_READ, NOSHARE_DELETE)) {
3471N/A try (SeekableByteChannel ch = Files.newByteChannel(file, READ, NOSHARE_READ, NOSHARE_WRITE)) {
893N/A } catch (IllegalArgumentException x) { }
893N/A } catch (IllegalArgumentException x) { }
893N/A } catch (UnsupportedOperationException e) { }
893N/A } catch (UnsupportedOperationException e) { }
3471N/A } catch (NullPointerException x) { }
893N/A } catch (NullPointerException x) { }
893N/A } catch (NullPointerException x) { }
893N/A } catch (NullPointerException x) { }
893N/A } catch (NullPointerException x) { }
893N/A } catch (NullPointerException x) { }
893N/A } catch (NullPointerException x) { }