You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2024/06/06 15:21:26 UTC
(commons-io) branch master updated: Better exception message
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-io.git
The following commit(s) were added to refs/heads/master by this push:
new 756ea1b16 Better exception message
756ea1b16 is described below
commit 756ea1b16adc695e244daf0e7afffb5f883b79f6
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Thu Jun 6 11:21:21 2024 -0400
Better exception message
---
src/main/java/org/apache/commons/io/file/PathUtils.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/commons/io/file/PathUtils.java b/src/main/java/org/apache/commons/io/file/PathUtils.java
index e7fb6f8bf..59d06b677 100644
--- a/src/main/java/org/apache/commons/io/file/PathUtils.java
+++ b/src/main/java/org/apache/commons/io/file/PathUtils.java
@@ -1599,7 +1599,7 @@ public final class PathUtils {
}
final Path parent = getParent(path);
if (!isPosix(parent, linkOptions)) { // Test parent because we may not the permissions to test the file.
- throw new IOException(String.format("DOS or POSIX file operations not available for '%s' %s", path, Arrays.toString(linkOptions)));
+ throw new IOException(String.format("DOS or POSIX file operations not available for '%s', linkOptions %s", path, Arrays.toString(linkOptions)));
}
// POSIX
if (readOnly) {