Update old school @exception with new school @throws.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/exec/trunk@1747112 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/src/main/java/org/apache/commons/exec/DefaultExecuteResultHandler.java b/src/main/java/org/apache/commons/exec/DefaultExecuteResultHandler.java
index 9fccbb7..48a7e21 100644
--- a/src/main/java/org/apache/commons/exec/DefaultExecuteResultHandler.java
+++ b/src/main/java/org/apache/commons/exec/DefaultExecuteResultHandler.java
@@ -110,7 +110,7 @@
* not yet terminated, the calling thread will be blocked until the
* process exits.
*
- * @exception InterruptedException if the current thread is
+ * @throws InterruptedException if the current thread is
* {@linkplain Thread#interrupt() interrupted} by another
* thread while it is waiting, then the wait is ended and
* an {@link InterruptedException} is thrown.
@@ -130,7 +130,7 @@
* process exits.
*
* @param timeout the maximum time to wait in milliseconds
- * @exception InterruptedException if the current thread is
+ * @throws InterruptedException if the current thread is
* {@linkplain Thread#interrupt() interrupted} by another
* thread while it is waiting, then the wait is ended and
* an {@link InterruptedException} is thrown.
diff --git a/src/main/java/org/apache/commons/exec/StreamPumper.java b/src/main/java/org/apache/commons/exec/StreamPumper.java
index 93f2624..c04c10e 100644
--- a/src/main/java/org/apache/commons/exec/StreamPumper.java
+++ b/src/main/java/org/apache/commons/exec/StreamPumper.java
@@ -137,7 +137,7 @@
/**
* This method blocks until the stream pumper finishes.
*
- * @exception InterruptedException
+ * @throws InterruptedException
* if any thread interrupted the current thread before or while the current thread was waiting for a
* notification.
* @see #isFinished()