Skip to content

Commit 756ea1b

Browse files
committed
Better exception message
1 parent d29270a commit 756ea1b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/org/apache/commons/io/file/PathUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1599,7 +1599,7 @@ public static Path setReadOnly(final Path path, final boolean readOnly, final Li
15991599
}
16001600
final Path parent = getParent(path);
16011601
if (!isPosix(parent, linkOptions)) { // Test parent because we may not the permissions to test the file.
1602-
throw new IOException(String.format("DOS or POSIX file operations not available for '%s' %s", path, Arrays.toString(linkOptions)));
1602+
throw new IOException(String.format("DOS or POSIX file operations not available for '%s', linkOptions %s", path, Arrays.toString(linkOptions)));
16031603
}
16041604
// POSIX
16051605
if (readOnly) {

0 commit comments

Comments
 (0)