Author: ggregory
Date: Tue Jun 7 00:43:42 2016
New Revision: 1747100
URL: http://svn.apache.org/viewvc?rev=1747100&view=rev
Log:
Update old school @exception with new school @throws.
Modified:
commons/proper/daemon/trunk/src/main/java/org/apache/commons/daemon/Daemon.java
commons/proper/daemon/trunk/src/main/java/org/apache/commons/daemon/DaemonPermission.java
Modified:
commons/proper/daemon/trunk/src/main/java/org/apache/commons/daemon/Daemon.java
URL:
http://svn.apache.org/viewvc/commons/proper/daemon/trunk/src/main/java/org/apache/commons/daemon/Daemon.java?rev=1747100&r1=1747099&r2=1747100&view=diff
==============================================================================
---
commons/proper/daemon/trunk/src/main/java/org/apache/commons/daemon/Daemon.java
(original)
+++
commons/proper/daemon/trunk/src/main/java/org/apache/commons/daemon/Daemon.java
Tue Jun 7 00:43:42 2016
@@ -63,10 +63,10 @@ public interface Daemon
*
* @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)
Modified:
commons/proper/daemon/trunk/src/main/java/org/apache/commons/daemon/DaemonPermission.java
URL:
http://svn.apache.org/viewvc/commons/proper/daemon/trunk/src/main/java/org/apache/commons/daemon/DaemonPermission.java?rev=1747100&r1=1747099&r2=1747100&view=diff
==============================================================================
---
commons/proper/daemon/trunk/src/main/java/org/apache/commons/daemon/DaemonPermission.java
(original)
+++
commons/proper/daemon/trunk/src/main/java/org/apache/commons/daemon/DaemonPermission.java
Tue Jun 7 00:43:42 2016
@@ -182,7 +182,7 @@ public final class DaemonPermission exte
* 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 @@ public final class DaemonPermission exte
*
* @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.
*/