aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/apache/commons/io/UncheckedIOExceptions.java
diff options
context:
space:
mode:
authorGary Gregory <gardgregory@gmail.com>2021-09-14 11:39:28 -0400
committerGary Gregory <gardgregory@gmail.com>2021-09-14 11:39:28 -0400
commit8d108f00343c315c73c5aac3a9e841619143dcc0 (patch)
treeedbd41ce7be8812a436592e35e191a0bc3adef6a /src/main/java/org/apache/commons/io/UncheckedIOExceptions.java
parent04ab5286843bf3b8194aabd9371e43277bc23189 (diff)
downloadapache-commons-io-8d108f00343c315c73c5aac3a9e841619143dcc0.tar.gz
More precise Javadoc.
Diffstat (limited to 'src/main/java/org/apache/commons/io/UncheckedIOExceptions.java')
-rw-r--r--src/main/java/org/apache/commons/io/UncheckedIOExceptions.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main/java/org/apache/commons/io/UncheckedIOExceptions.java b/src/main/java/org/apache/commons/io/UncheckedIOExceptions.java
index f8f3ff7b..4173c0d4 100644
--- a/src/main/java/org/apache/commons/io/UncheckedIOExceptions.java
+++ b/src/main/java/org/apache/commons/io/UncheckedIOExceptions.java
@@ -31,11 +31,11 @@ public class UncheckedIOExceptions {
/**
* Creates a new UncheckedIOException for the given detail message.
* <p>
- * This method exists because there is no String constructor in UncheckedIOException.
+ * This method exists because there is no String constructor in {@link UncheckedIOException}.
* </p>
*
* @param message the detail message.
- * @return a new UncheckedIOException.
+ * @return a new {@link UncheckedIOException}.
*/
public static UncheckedIOException create(final Object message) {
final String string = Objects.toString(message);
@@ -45,12 +45,12 @@ public class UncheckedIOExceptions {
/**
* Creates a new UncheckedIOException for the given detail message.
* <p>
- * This method exists because there is no String constructor in UncheckedIOException.
+ * This method exists because there is no String constructor in {@link UncheckedIOException}.
* </p>
*
* @param message the detail message.
* @param e cause the {@code IOException}.
- * @return a new UncheckedIOException.
+ * @return a new {@link UncheckedIOException}.
*/
public static UncheckedIOException create(final Object message, final IOException e) {
return new UncheckedIOException(Objects.toString(message), e);