Update old school @exception with new school @throws.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/daemon/trunk@1747100 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/src/main/java/org/apache/commons/daemon/Daemon.java b/src/main/java/org/apache/commons/daemon/Daemon.java
index e96a1d5..81d2b89 100644
--- a/src/main/java/org/apache/commons/daemon/Daemon.java
+++ b/src/main/java/org/apache/commons/daemon/Daemon.java
@@ -63,10 +63,10 @@
*
* @param context A <code>DaemonContext</code> object used to
* communicate with the container.
- * @exception DaemonInitException An exception that prevented
+ * @throws DaemonInitException An exception that prevented
* initialization where you want to display a nice message to the user,
* rather than a stack trace.
- * @exception Exception Any exception preventing a successful
+ * @throws Exception Any exception preventing a successful
* initialization.
*/
public void init(DaemonContext context)
diff --git a/src/main/java/org/apache/commons/daemon/DaemonPermission.java b/src/main/java/org/apache/commons/daemon/DaemonPermission.java
index 3391dec..941ad65 100644
--- a/src/main/java/org/apache/commons/daemon/DaemonPermission.java
+++ b/src/main/java/org/apache/commons/daemon/DaemonPermission.java
@@ -182,7 +182,7 @@
* instance that <b>will not</b> grant any permission to the caller.
*
* @param target The target name of this permission.
- * @exception IllegalArgumentException If the specified target name is not
+ * @throws IllegalArgumentException If the specified target name is not
* supported.
*/
public DaemonPermission(String target)
@@ -215,7 +215,7 @@
*
* @param target The target name of this permission.
* @param actions The list of actions permitted by this permission.
- * @exception IllegalArgumentException If the specified target name is not
+ * @throws IllegalArgumentException If the specified target name is not
* supported, or the specified list of actions includes an
* invalid value.
*/