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 2020/11/17 23:49:32 UTC
[commons-daemon] branch master updated: Javadoc.
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-daemon.git
The following commit(s) were added to refs/heads/master by this push:
new 00b931d Javadoc.
00b931d is described below
commit 00b931d8af9503dff0993b2124a8f24a562f504b
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Tue Nov 17 18:49:27 2020 -0500
Javadoc.
---
.../java/org/apache/commons/daemon/DaemonInitException.java | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/src/main/java/org/apache/commons/daemon/DaemonInitException.java b/src/main/java/org/apache/commons/daemon/DaemonInitException.java
index 9dd3a48..872a7da 100644
--- a/src/main/java/org/apache/commons/daemon/DaemonInitException.java
+++ b/src/main/java/org/apache/commons/daemon/DaemonInitException.java
@@ -17,9 +17,8 @@
package org.apache.commons.daemon;
/**
- * Throw this during init if you can't initialise yourself for some expected
- * reason. Using this exception will cause the exception's message to come out
- * on stdout, rather than a dirty great stacktrace.
+ * Throw this during init if you can't initialise yourself for some expected reason. Using this exception will cause the
+ * exception's message to come out on stdout, rather than a dirty great stacktrace.
*/
public class DaemonInitException extends Exception {
@@ -28,6 +27,11 @@ public class DaemonInitException extends Exception {
// don't rely on Throwable#getCause (jdk1.4)
private final Throwable cause;
+ /**
+ * Constructs a new exception with the specified message.
+ *
+ * @param message the detail message accessible with {@link #getMessage()} .
+ */
public DaemonInitException(final String message) {
super(message);
this.cause = null;