equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2007, 2017, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2007, 2018, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
1389 * if the target file exists but cannot be replaced because the |
1389 * if the target file exists but cannot be replaced because the |
1390 * {@code REPLACE_EXISTING} option is not specified <i>(optional |
1390 * {@code REPLACE_EXISTING} option is not specified <i>(optional |
1391 * specific exception)</i> |
1391 * specific exception)</i> |
1392 * @throws DirectoryNotEmptyException |
1392 * @throws DirectoryNotEmptyException |
1393 * the {@code REPLACE_EXISTING} option is specified but the file |
1393 * the {@code REPLACE_EXISTING} option is specified but the file |
1394 * cannot be replaced because it is a non-empty directory |
1394 * cannot be replaced because it is a non-empty directory, or the |
1395 * <i>(optional specific exception)</i> |
1395 * source is a non-empty directory containing entries that would |
|
1396 * be required to be moved <i>(optional specific exceptions)</i> |
1396 * @throws AtomicMoveNotSupportedException |
1397 * @throws AtomicMoveNotSupportedException |
1397 * if the options array contains the {@code ATOMIC_MOVE} option but |
1398 * if the options array contains the {@code ATOMIC_MOVE} option but |
1398 * the file cannot be moved as an atomic file system operation. |
1399 * the file cannot be moved as an atomic file system operation. |
1399 * @throws IOException |
1400 * @throws IOException |
1400 * if an I/O error occurs |
1401 * if an I/O error occurs |