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 2016/06/07 02:22:25 UTC

svn commit: r1747119 [4/4] - in /commons/proper/net/trunk/src/main/java/org/apache/commons/net: ./ bsd/ chargen/ daytime/ discard/ echo/ finger/ ftp/ ftp/parser/ imap/ io/ nntp/ ntp/ pop3/ smtp/ telnet/ tftp/ time/ whois/

Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/pop3/POP3Client.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/pop3/POP3Client.java?rev=1747119&r1=1747118&r2=1747119&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/pop3/POP3Client.java (original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/pop3/POP3Client.java Tue Jun  7 02:22:24 2016
@@ -116,7 +116,7 @@ public class POP3Client extends POP3
     /***
      * Send a CAPA command to the POP3 server.
      * @return True if the command was successful, false if not.
-     * @exception IOException If a network I/O error occurs in the process of
+     * @throws IOException If a network I/O error occurs in the process of
      *        sending the CAPA command.
      * @since 3.1 (was previously in ExtendedPOP3Client)
      ***/
@@ -144,7 +144,7 @@ public class POP3Client extends POP3
      * @param username  The account name being logged in to.
      * @param password  The plain text password of the account.
      * @return True if the login attempt was successful, false if not.
-     * @exception IOException If a network I/O error occurs in the process of
+     * @throws IOException If a network I/O error occurs in the process of
      *            logging in.
      ***/
     public boolean login(String username, String password) throws IOException
@@ -195,9 +195,9 @@ public class POP3Client extends POP3
      * @param secret  The shared secret which produces the MD5 digest when
      *        combined with the timestamp.
      * @return True if the login attempt was successful, false if not.
-     * @exception IOException If a network I/O error occurs in the process of
+     * @throws IOException If a network I/O error occurs in the process of
      *            logging in.
-     * @exception NoSuchAlgorithmException If the MD5 encryption algorithm
+     * @throws NoSuchAlgorithmException If the MD5 encryption algorithm
      *      cannot be instantiated by the Java runtime system.
      ***/
     public boolean login(String username, String timestamp, String secret)
@@ -252,7 +252,7 @@ public class POP3Client extends POP3
      *  on a successful logout.
      *
      * @return True if the logout attempt was successful, false if not.
-     * @exception IOException If a network I/O error occurs in the process
+     * @throws IOException If a network I/O error occurs in the process
      *           of logging out.
      ***/
     public boolean logout() throws IOException
@@ -274,7 +274,7 @@ public class POP3Client extends POP3
      * .
      *
      * @return True if the noop attempt was successful, false if not.
-     * @exception IOException If a network I/O error occurs in the process of
+     * @throws IOException If a network I/O error occurs in the process of
      *        sending the NOOP command.
      ***/
     public boolean noop() throws IOException
@@ -298,7 +298,7 @@ public class POP3Client extends POP3
      *
      * @param messageId  The message number to delete.
      * @return True if the deletion attempt was successful, false if not.
-     * @exception IOException If a network I/O error occurs in the process of
+     * @throws IOException If a network I/O error occurs in the process of
      *           sending the delete command.
      ***/
     public boolean deleteMessage(int messageId) throws IOException
@@ -319,7 +319,7 @@ public class POP3Client extends POP3
      * .
      *
      * @return True if the reset attempt was successful, false if not.
-     * @exception IOException If a network I/O error occurs in the process of
+     * @throws IOException If a network I/O error occurs in the process of
      *      sending the reset command.
      ***/
     public boolean reset() throws IOException
@@ -342,7 +342,7 @@ public class POP3Client extends POP3
      * @return A POP3MessageInfo instance containing the number of
      *         messages in the mailbox and the total size of the messages
      *         in bytes.  Returns null if the status the attempt fails.
-     * @exception IOException If a network I/O error occurs in the process of
+     * @throws IOException If a network I/O error occurs in the process of
      *       sending the status command.
      ***/
     public POP3MessageInfo status() throws IOException
@@ -371,7 +371,7 @@ public class POP3Client extends POP3
      * @return A POP3MessageInfo instance containing the number of the
      *         listed message and the size of the message in bytes.  Returns
      *         null if the list attempt fails.
-     * @exception IOException If a network I/O error occurs in the process of
+     * @throws IOException If a network I/O error occurs in the process of
      *         sending the list command.
      ***/
     public POP3MessageInfo listMessage(int messageId) throws IOException
@@ -401,7 +401,7 @@ public class POP3Client extends POP3
      * each containing the number of a message and its size in bytes.
      * If there are no messages, this method returns a zero length array.
      * If the list attempt fails, it returns null.
-     * @exception IOException If a network I/O error occurs in the process of
+     * @throws IOException If a network I/O error occurs in the process of
      *     sending the list command.
      ***/
     public POP3MessageInfo[] listMessages() throws IOException
@@ -441,7 +441,7 @@ public class POP3Client extends POP3
      * @return A POP3MessageInfo instance containing the number of the
      *         listed message and the unique identifier for that message.
      *         Returns null if the list attempt fails.
-     * @exception IOException If a network I/O error occurs in the process of
+     * @throws IOException If a network I/O error occurs in the process of
      *        sending the list unique identifier command.
      ***/
     public POP3MessageInfo listUniqueIdentifier(int messageId)
@@ -472,7 +472,7 @@ public class POP3Client extends POP3
      * each containing the number of a message and its unique identifier
      * If there are no messages, this method returns a zero length array.
      * If the list attempt fails, it returns null.
-     * @exception IOException If a network I/O error occurs in the process of
+     * @throws IOException If a network I/O error occurs in the process of
      *     sending the list unique identifier command.
      ***/
     public POP3MessageInfo[] listUniqueIdentifiers() throws IOException
@@ -521,7 +521,7 @@ public class POP3Client extends POP3
      * use the {@link java.io.BufferedReader#readLine() BufferedReader#readLine()} method.
      * Returns null if the retrieval attempt fails  (e.g., if the specified
      * message number does not exist).
-     * @exception IOException If a network I/O error occurs in the process of
+     * @throws IOException If a network I/O error occurs in the process of
      *        sending the retrieve message command.
      */
     public Reader retrieveMessage(int messageId) throws IOException
@@ -562,7 +562,7 @@ public class POP3Client extends POP3
      * use the {@link java.io.BufferedReader#readLine() BufferedReader#readLine()} method.
      * Returns null if the retrieval attempt fails  (e.g., if the specified
      * message number does not exist).
-     * @exception IOException If a network I/O error occurs in the process of
+     * @throws IOException If a network I/O error occurs in the process of
      *       sending the top command.
      */
     public Reader retrieveMessageTop(int messageId, int numLines)

Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/smtp/AuthenticatingSMTPClient.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/smtp/AuthenticatingSMTPClient.java?rev=1747119&r1=1747118&r2=1747119&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/smtp/AuthenticatingSMTPClient.java (original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/smtp/AuthenticatingSMTPClient.java Tue Jun  7 02:22:24 2016
@@ -104,12 +104,12 @@ public class AuthenticatingSMTPClient ex
      * <p>
      * @param hostname The hostname of the sender.
      * @return The reply code received from the server.
-     * @exception SMTPConnectionClosedException
+     * @throws SMTPConnectionClosedException
      *      If the SMTP server prematurely closes the connection as a result
      *      of the client being idle or some other reason causing the server
      *      to send SMTP reply code 421.  This exception may be caught either
      *      as an IOException or independently as itself.
-     * @exception IOException  If an I/O error occurs while either sending the
+     * @throws IOException  If an I/O error occurs while either sending the
      *      command or receiving the server reply.
      ***/
     public int ehlo(String hostname) throws IOException
@@ -124,12 +124,12 @@ public class AuthenticatingSMTPClient ex
      * <p>
      * @param hostname  The hostname with which to greet the SMTP server.
      * @return True if successfully completed, false if not.
-     * @exception SMTPConnectionClosedException
+     * @throws SMTPConnectionClosedException
      *      If the SMTP server prematurely closes the connection as a result
      *      of the client being idle or some other reason causing the server
      *      to send SMTP reply code 421.  This exception may be caught either
      *      as an IOException or independently as itself.
-     * @exception IOException  If an I/O error occurs while either sending a
+     * @throws IOException  If an I/O error occurs while either sending a
      *      command to the server or receiving a reply from the server.
      ***/
     public boolean elogin(String hostname) throws IOException
@@ -144,12 +144,12 @@ public class AuthenticatingSMTPClient ex
      * you must first login.
      * <p>
      * @return True if successfully completed, false if not.
-     * @exception SMTPConnectionClosedException
+     * @throws SMTPConnectionClosedException
      *      If the SMTP server prematurely closes the connection as a result
      *      of the client being idle or some other reason causing the server
      *      to send SMTP reply code 421.  This exception may be caught either
      *      as an IOException or independently as itself.
-     * @exception IOException  If an I/O error occurs while either sending a
+     * @throws IOException  If an I/O error occurs while either sending a
      *      command to the server or receiving a reply from the server.
      ***/
     public boolean elogin() throws IOException
@@ -196,18 +196,18 @@ public class AuthenticatingSMTPClient ex
      *        Ignored for XOAUTH.
      *
      * @return True if successfully completed, false if not.
-     * @exception SMTPConnectionClosedException
+     * @throws SMTPConnectionClosedException
      *      If the SMTP server prematurely closes the connection as a result
      *      of the client being idle or some other reason causing the server
      *      to send SMTP reply code 421.  This exception may be caught either
      *      as an IOException or independently as itself.
-     * @exception IOException  If an I/O error occurs while either sending a
+     * @throws IOException  If an I/O error occurs while either sending a
      *      command to the server or receiving a reply from the server.
-     * @exception NoSuchAlgorithmException If the CRAM hash algorithm
+     * @throws NoSuchAlgorithmException If the CRAM hash algorithm
      *      cannot be instantiated by the Java runtime system.
-     * @exception InvalidKeyException If the CRAM hash algorithm
+     * @throws InvalidKeyException If the CRAM hash algorithm
      *      failed to use the given password.
-     * @exception InvalidKeySpecException If the CRAM hash algorithm
+     * @throws InvalidKeySpecException If the CRAM hash algorithm
      *      failed to use the given password.
      ***/
     public boolean auth(AuthenticatingSMTPClient.AUTH_METHOD method,

Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/smtp/SMTP.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/smtp/SMTP.java?rev=1747119&r1=1747118&r2=1747119&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/smtp/SMTP.java (original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/smtp/SMTP.java Tue Jun  7 02:22:24 2016
@@ -275,7 +275,7 @@ public class SMTP extends SocketClient
      * garbage collector.  The reply text and code information from the
      * last command is voided so that the memory it used may be reclaimed.
      * <p>
-     * @exception IOException If an error occurs while disconnecting.
+     * @throws IOException If an error occurs while disconnecting.
      ***/
     @Override
     public void disconnect() throws IOException
@@ -301,12 +301,12 @@ public class SMTP extends SocketClient
      *             set to null, then the command is sent with no argument.
      * @return The integer value of the SMTP reply code returned by the server
      *         in response to the command.
-     * @exception SMTPConnectionClosedException
+     * @throws SMTPConnectionClosedException
      *      If the SMTP server prematurely closes the connection as a result
      *      of the client being idle or some other reason causing the server
      *      to send SMTP reply code 421.  This exception may be caught either
      *      as an IOException or independently as itself.
-     * @exception IOException  If an I/O error occurs while either sending the
+     * @throws IOException  If an I/O error occurs while either sending the
      *      command or receiving the server reply.
      ***/
     public int sendCommand(String command, String args) throws IOException
@@ -328,12 +328,12 @@ public class SMTP extends SocketClient
      *             set to null, then the command is sent with no argument.
      * @return The integer value of the SMTP reply code returned by the server
      *         in response to the command.
-     * @exception SMTPConnectionClosedException
+     * @throws SMTPConnectionClosedException
      *      If the SMTP server prematurely closes the connection as a result
      *      of the client being idle or some other reason causing the server
      *      to send SMTP reply code 421.  This exception may be caught either
      *      as an IOException or independently as itself.
-     * @exception IOException  If an I/O error occurs while either sending the
+     * @throws IOException  If an I/O error occurs while either sending the
      *      command or receiving the server reply.
      ***/
     public int sendCommand(int command, String args) throws IOException
@@ -352,12 +352,12 @@ public class SMTP extends SocketClient
      * @param command  The text representation of the  SMTP command to send.
      * @return The integer value of the SMTP reply code returned by the server
      *         in response to the command.
-     * @exception SMTPConnectionClosedException
+     * @throws SMTPConnectionClosedException
      *      If the SMTP server prematurely closes the connection as a result
      *      of the client being idle or some other reason causing the server
      *      to send SMTP reply code 421.  This exception may be caught either
      *      as an IOException or independently as itself.
-     * @exception IOException  If an I/O error occurs while either sending the
+     * @throws IOException  If an I/O error occurs while either sending the
      *      command or receiving the server reply.
      ***/
     public int sendCommand(String command) throws IOException
@@ -377,12 +377,12 @@ public class SMTP extends SocketClient
      *                 to send.
      * @return The integer value of the SMTP reply code returned by the server
      *         in response to the command.
-     * @exception SMTPConnectionClosedException
+     * @throws SMTPConnectionClosedException
      *      If the SMTP server prematurely closes the connection as a result
      *      of the client being idle or some other reason causing the server
      *      to send SMTP reply code 421.  This exception may be caught either
      *      as an IOException or independently as itself.
-     * @exception IOException  If an I/O error occurs while either sending the
+     * @throws IOException  If an I/O error occurs while either sending the
      *      command or receiving the server reply.
      ***/
     public int sendCommand(int command) throws IOException
@@ -413,12 +413,12 @@ public class SMTP extends SocketClient
      * fetch a secondary response from the SMTP server.
      * <p>
      * @return The integer value of the reply code of the fetched SMTP reply.
-     * @exception SMTPConnectionClosedException
+     * @throws SMTPConnectionClosedException
      *      If the SMTP server prematurely closes the connection as a result
      *      of the client being idle or some other reason causing the server
      *      to send SMTP reply code 421.  This exception may be caught either
      *      as an IOException or independently as itself.
-     * @exception IOException  If an I/O error occurs while receiving the
+     * @throws IOException  If an I/O error occurs while receiving the
      *                         server reply.
      ***/
     public int getReply() throws IOException
@@ -475,12 +475,12 @@ public class SMTP extends SocketClient
      * <p>
      * @param hostname The hostname of the sender.
      * @return The reply code received from the server.
-     * @exception SMTPConnectionClosedException
+     * @throws SMTPConnectionClosedException
      *      If the SMTP server prematurely closes the connection as a result
      *      of the client being idle or some other reason causing the server
      *      to send SMTP reply code 421.  This exception may be caught either
      *      as an IOException or independently as itself.
-     * @exception IOException  If an I/O error occurs while either sending the
+     * @throws IOException  If an I/O error occurs while either sending the
      *      command or receiving the server reply.
      ***/
     public int helo(String hostname) throws IOException
@@ -495,12 +495,12 @@ public class SMTP extends SocketClient
      * <p>
      * @param reversePath The reverese path.
      * @return The reply code received from the server.
-     * @exception SMTPConnectionClosedException
+     * @throws SMTPConnectionClosedException
      *      If the SMTP server prematurely closes the connection as a result
      *      of the client being idle or some other reason causing the server
      *      to send SMTP reply code 421.  This exception may be caught either
      *      as an IOException or independently as itself.
-     * @exception IOException  If an I/O error occurs while either sending the
+     * @throws IOException  If an I/O error occurs while either sending the
      *      command or receiving the server reply.
      ***/
     public int mail(String reversePath) throws IOException
@@ -515,12 +515,12 @@ public class SMTP extends SocketClient
      * <p>
      * @param forwardPath The forward path.
      * @return The reply code received from the server.
-     * @exception SMTPConnectionClosedException
+     * @throws SMTPConnectionClosedException
      *      If the SMTP server prematurely closes the connection as a result
      *      of the client being idle or some other reason causing the server
      *      to send SMTP reply code 421.  This exception may be caught either
      *      as an IOException or independently as itself.
-     * @exception IOException  If an I/O error occurs while either sending the
+     * @throws IOException  If an I/O error occurs while either sending the
      *      command or receiving the server reply.
      ***/
     public int rcpt(String forwardPath) throws IOException
@@ -534,12 +534,12 @@ public class SMTP extends SocketClient
      * receive the reply, and return the reply code.
      * <p>
      * @return The reply code received from the server.
-     * @exception SMTPConnectionClosedException
+     * @throws SMTPConnectionClosedException
      *      If the SMTP server prematurely closes the connection as a result
      *      of the client being idle or some other reason causing the server
      *      to send SMTP reply code 421.  This exception may be caught either
      *      as an IOException or independently as itself.
-     * @exception IOException  If an I/O error occurs while either sending the
+     * @throws IOException  If an I/O error occurs while either sending the
      *      command or receiving the server reply.
      ***/
     public int data() throws IOException
@@ -554,12 +554,12 @@ public class SMTP extends SocketClient
      * <p>
      * @param reversePath The reverese path.
      * @return The reply code received from the server.
-     * @exception SMTPConnectionClosedException
+     * @throws SMTPConnectionClosedException
      *      If the SMTP server prematurely closes the connection as a result
      *      of the client being idle or some other reason causing the server
      *      to send SMTP reply code 421.  This exception may be caught either
      *      as an IOException or independently as itself.
-     * @exception IOException  If an I/O error occurs while either sending the
+     * @throws IOException  If an I/O error occurs while either sending the
      *      command or receiving the server reply.
      ***/
     public int send(String reversePath) throws IOException
@@ -574,12 +574,12 @@ public class SMTP extends SocketClient
      * <p>
      * @param reversePath The reverese path.
      * @return The reply code received from the server.
-     * @exception SMTPConnectionClosedException
+     * @throws SMTPConnectionClosedException
      *      If the SMTP server prematurely closes the connection as a result
      *      of the client being idle or some other reason causing the server
      *      to send SMTP reply code 421.  This exception may be caught either
      *      as an IOException or independently as itself.
-     * @exception IOException  If an I/O error occurs while either sending the
+     * @throws IOException  If an I/O error occurs while either sending the
      *      command or receiving the server reply.
      ***/
     public int soml(String reversePath) throws IOException
@@ -594,12 +594,12 @@ public class SMTP extends SocketClient
      * <p>
      * @param reversePath The reverese path.
      * @return The reply code received from the server.
-     * @exception SMTPConnectionClosedException
+     * @throws SMTPConnectionClosedException
      *      If the SMTP server prematurely closes the connection as a result
      *      of the client being idle or some other reason causing the server
      *      to send SMTP reply code 421.  This exception may be caught either
      *      as an IOException or independently as itself.
-     * @exception IOException  If an I/O error occurs while either sending the
+     * @throws IOException  If an I/O error occurs while either sending the
      *      command or receiving the server reply.
      ***/
     public int saml(String reversePath) throws IOException
@@ -613,12 +613,12 @@ public class SMTP extends SocketClient
      * receive the reply, and return the reply code.
      * <p>
      * @return The reply code received from the server.
-     * @exception SMTPConnectionClosedException
+     * @throws SMTPConnectionClosedException
      *      If the SMTP server prematurely closes the connection as a result
      *      of the client being idle or some other reason causing the server
      *      to send SMTP reply code 421.  This exception may be caught either
      *      as an IOException or independently as itself.
-     * @exception IOException  If an I/O error occurs while either sending the
+     * @throws IOException  If an I/O error occurs while either sending the
      *      command or receiving the server reply.
      ***/
     public int rset() throws IOException
@@ -633,12 +633,12 @@ public class SMTP extends SocketClient
      * <p>
      * @param user The user address to verify.
      * @return The reply code received from the server.
-     * @exception SMTPConnectionClosedException
+     * @throws SMTPConnectionClosedException
      *      If the SMTP server prematurely closes the connection as a result
      *      of the client being idle or some other reason causing the server
      *      to send SMTP reply code 421.  This exception may be caught either
      *      as an IOException or independently as itself.
-     * @exception IOException  If an I/O error occurs while either sending the
+     * @throws IOException  If an I/O error occurs while either sending the
      *      command or receiving the server reply.
      ***/
     public int vrfy(String user) throws IOException
@@ -653,12 +653,12 @@ public class SMTP extends SocketClient
      * <p>
      * @param name The name to expand.
      * @return The reply code received from the server.
-     * @exception SMTPConnectionClosedException
+     * @throws SMTPConnectionClosedException
      *      If the SMTP server prematurely closes the connection as a result
      *      of the client being idle or some other reason causing the server
      *      to send SMTP reply code 421.  This exception may be caught either
      *      as an IOException or independently as itself.
-     * @exception IOException  If an I/O error occurs while either sending the
+     * @throws IOException  If an I/O error occurs while either sending the
      *      command or receiving the server reply.
      ***/
     public int expn(String name) throws IOException
@@ -671,12 +671,12 @@ public class SMTP extends SocketClient
      * receive the reply, and return the reply code.
      * <p>
      * @return The reply code received from the server.
-     * @exception SMTPConnectionClosedException
+     * @throws SMTPConnectionClosedException
      *      If the SMTP server prematurely closes the connection as a result
      *      of the client being idle or some other reason causing the server
      *      to send SMTP reply code 421.  This exception may be caught either
      *      as an IOException or independently as itself.
-     * @exception IOException  If an I/O error occurs while either sending the
+     * @throws IOException  If an I/O error occurs while either sending the
      *      command or receiving the server reply.
      ***/
     public int help() throws IOException
@@ -690,12 +690,12 @@ public class SMTP extends SocketClient
      * <p>
      * @param command  The command name on which to request help.
      * @return The reply code received from the server.
-     * @exception SMTPConnectionClosedException
+     * @throws SMTPConnectionClosedException
      *      If the SMTP server prematurely closes the connection as a result
      *      of the client being idle or some other reason causing the server
      *      to send SMTP reply code 421.  This exception may be caught either
      *      as an IOException or independently as itself.
-     * @exception IOException  If an I/O error occurs while either sending the
+     * @throws IOException  If an I/O error occurs while either sending the
      *      command or receiving the server reply.
      ***/
     public int help(String command) throws IOException
@@ -708,12 +708,12 @@ public class SMTP extends SocketClient
      * receive the reply, and return the reply code.
      * <p>
      * @return The reply code received from the server.
-     * @exception SMTPConnectionClosedException
+     * @throws SMTPConnectionClosedException
      *      If the SMTP server prematurely closes the connection as a result
      *      of the client being idle or some other reason causing the server
      *      to send SMTP reply code 421.  This exception may be caught either
      *      as an IOException or independently as itself.
-     * @exception IOException  If an I/O error occurs while either sending the
+     * @throws IOException  If an I/O error occurs while either sending the
      *      command or receiving the server reply.
      ***/
     public int noop() throws IOException
@@ -727,12 +727,12 @@ public class SMTP extends SocketClient
      * receive the reply, and return the reply code.
      * <p>
      * @return The reply code received from the server.
-     * @exception SMTPConnectionClosedException
+     * @throws SMTPConnectionClosedException
      *      If the SMTP server prematurely closes the connection as a result
      *      of the client being idle or some other reason causing the server
      *      to send SMTP reply code 421.  This exception may be caught either
      *      as an IOException or independently as itself.
-     * @exception IOException  If an I/O error occurs while either sending the
+     * @throws IOException  If an I/O error occurs while either sending the
      *      command or receiving the server reply.
      ***/
     public int turn() throws IOException
@@ -746,12 +746,12 @@ public class SMTP extends SocketClient
      * receive the reply, and return the reply code.
      * <p>
      * @return The reply code received from the server.
-     * @exception SMTPConnectionClosedException
+     * @throws SMTPConnectionClosedException
      *      If the SMTP server prematurely closes the connection as a result
      *      of the client being idle or some other reason causing the server
      *      to send SMTP reply code 421.  This exception may be caught either
      *      as an IOException or independently as itself.
-     * @exception IOException  If an I/O error occurs while either sending the
+     * @throws IOException  If an I/O error occurs while either sending the
      *      command or receiving the server reply.
      ***/
     public int quit() throws IOException

Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/smtp/SMTPClient.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/smtp/SMTPClient.java?rev=1747119&r1=1747118&r2=1747119&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/smtp/SMTPClient.java (original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/smtp/SMTPClient.java Tue Jun  7 02:22:24 2016
@@ -163,12 +163,12 @@ public class SMTPClient extends SMTP
      * </pre>
      * <p>
      * @return True if successfully completed, false if not.
-     * @exception SMTPConnectionClosedException
+     * @throws SMTPConnectionClosedException
      *      If the SMTP server prematurely closes the connection as a result
      *      of the client being idle or some other reason causing the server
      *      to send SMTP reply code 421.  This exception may be caught either
      *      as an IOException or independently as itself.
-     * @exception IOException  If an I/O error occurs while either sending a
+     * @throws IOException  If an I/O error occurs while either sending a
      *      command to the server or receiving a reply from the server.
      ***/
     public boolean completePendingCommand() throws IOException
@@ -184,12 +184,12 @@ public class SMTPClient extends SMTP
      * <p>
      * @param hostname  The hostname with which to greet the SMTP server.
      * @return True if successfully completed, false if not.
-     * @exception SMTPConnectionClosedException
+     * @throws SMTPConnectionClosedException
      *      If the SMTP server prematurely closes the connection as a result
      *      of the client being idle or some other reason causing the server
      *      to send SMTP reply code 421.  This exception may be caught either
      *      as an IOException or independently as itself.
-     * @exception IOException  If an I/O error occurs while either sending a
+     * @throws IOException  If an I/O error occurs while either sending a
      *      command to the server or receiving a reply from the server.
      ***/
     public boolean login(String hostname) throws IOException
@@ -204,12 +204,12 @@ public class SMTPClient extends SMTP
      * you must first login.
      * <p>
      * @return True if successfully completed, false if not.
-     * @exception SMTPConnectionClosedException
+     * @throws SMTPConnectionClosedException
      *      If the SMTP server prematurely closes the connection as a result
      *      of the client being idle or some other reason causing the server
      *      to send SMTP reply code 421.  This exception may be caught either
      *      as an IOException or independently as itself.
-     * @exception IOException  If an I/O error occurs while either sending a
+     * @throws IOException  If an I/O error occurs while either sending a
      *      command to the server or receiving a reply from the server.
      ***/
     public boolean login() throws IOException
@@ -236,12 +236,12 @@ public class SMTPClient extends SMTP
      * <p>
      * @param path  The reverse relay path pointing back to the sender.
      * @return True if successfully completed, false if not.
-     * @exception SMTPConnectionClosedException
+     * @throws SMTPConnectionClosedException
      *      If the SMTP server prematurely closes the connection as a result
      *      of the client being idle or some other reason causing the server
      *      to send SMTP reply code 421.  This exception may be caught either
      *      as an IOException or independently as itself.
-     * @exception IOException  If an I/O error occurs while either sending a
+     * @throws IOException  If an I/O error occurs while either sending a
      *      command to the server or receiving a reply from the server.
      ***/
     public boolean setSender(RelayPath path) throws IOException
@@ -258,12 +258,12 @@ public class SMTPClient extends SMTP
      * <p>
      * @param address  The sender's email address.
      * @return True if successfully completed, false if not.
-     * @exception SMTPConnectionClosedException
+     * @throws SMTPConnectionClosedException
      *      If the SMTP server prematurely closes the connection as a result
      *      of the client being idle or some other reason causing the server
      *      to send SMTP reply code 421.  This exception may be caught either
      *      as an IOException or independently as itself.
-     * @exception IOException  If an I/O error occurs while either sending a
+     * @throws IOException  If an I/O error occurs while either sending a
      *      command to the server or receiving a reply from the server.
      ***/
     public boolean setSender(String address) throws IOException
@@ -280,12 +280,12 @@ public class SMTPClient extends SMTP
      * <p>
      * @param path  The forward relay path pointing to the recipient.
      * @return True if successfully completed, false if not.
-     * @exception SMTPConnectionClosedException
+     * @throws SMTPConnectionClosedException
      *      If the SMTP server prematurely closes the connection as a result
      *      of the client being idle or some other reason causing the server
      *      to send SMTP reply code 421.  This exception may be caught either
      *      as an IOException or independently as itself.
-     * @exception IOException  If an I/O error occurs while either sending a
+     * @throws IOException  If an I/O error occurs while either sending a
      *      command to the server or receiving a reply from the server.
      ***/
     public boolean addRecipient(RelayPath path) throws IOException
@@ -302,12 +302,12 @@ public class SMTPClient extends SMTP
      * <p>
      * @param address  The recipient's email address.
      * @return True if successfully completed, false if not.
-     * @exception SMTPConnectionClosedException
+     * @throws SMTPConnectionClosedException
      *      If the SMTP server prematurely closes the connection as a result
      *      of the client being idle or some other reason causing the server
      *      to send SMTP reply code 421.  This exception may be caught either
      *      as an IOException or independently as itself.
-     * @exception IOException  If an I/O error occurs while either sending a
+     * @throws IOException  If an I/O error occurs while either sending a
      *      command to the server or receiving a reply from the server.
      ***/
     public boolean addRecipient(String address) throws IOException
@@ -348,12 +348,12 @@ public class SMTPClient extends SMTP
      * <p>
      * @return A DotTerminatedMessageWriter to which the message (including
      *      header) can be written.  Returns null if the command fails.
-     * @exception SMTPConnectionClosedException
+     * @throws SMTPConnectionClosedException
      *      If the SMTP server prematurely closes the connection as a result
      *      of the client being idle or some other reason causing the server
      *      to send SMTP reply code 421.  This exception may be caught either
      *      as an IOException or independently as itself.
-     * @exception IOException  If an I/O error occurs while either sending a
+     * @throws IOException  If an I/O error occurs while either sending a
      *      command to the server or receiving a reply from the server.
      * @see #sendShortMessageData(String)
      ***/
@@ -378,12 +378,12 @@ public class SMTPClient extends SMTP
      * @param message  The short email message to send.
      * This must include the headers and the body, but not the trailing "."
      * @return True if successfully completed, false if not.
-     * @exception SMTPConnectionClosedException
+     * @throws SMTPConnectionClosedException
      *      If the SMTP server prematurely closes the connection as a result
      *      of the client being idle or some other reason causing the server
      *      to send SMTP reply code 421.  This exception may be caught either
      *      as an IOException or independently as itself.
-     * @exception IOException  If an I/O error occurs while either sending a
+     * @throws IOException  If an I/O error occurs while either sending a
      *      command to the server or receiving a reply from the server.
      ***/
     public boolean sendShortMessageData(String message) throws IOException
@@ -416,12 +416,12 @@ public class SMTPClient extends SMTP
      * @param message  The short email message to send.
      * This must include the headers and the body, but not the trailing "."
      * @return True if successfully completed, false if not.
-     * @exception SMTPConnectionClosedException
+     * @throws SMTPConnectionClosedException
      *      If the SMTP server prematurely closes the connection as a result
      *      of the client being idle or some other reason causing the server
      *      to send SMTP reply code 421.  This exception may be caught either
      *      as an IOException or independently as itself.
-     * @exception IOException  If an I/O error occurs while either sending a
+     * @throws IOException  If an I/O error occurs while either sending a
      *      command to the server or receiving a reply from the server.
      ***/
     public boolean sendSimpleMessage(String sender, String recipient,
@@ -460,12 +460,12 @@ public class SMTPClient extends SMTP
      * @param message  The short email message to send.
      * This must include the headers and the body, but not the trailing "."
      * @return True if successfully completed, false if not.
-     * @exception SMTPConnectionClosedException
+     * @throws SMTPConnectionClosedException
      *      If the SMTP server prematurely closes the connection as a result
      *      of the client being idle or some other reason causing the server
      *      to send SMTP reply code 421.  This exception may be caught either
      *      as an IOException or independently as itself.
-     * @exception IOException  If an I/O error occurs while either sending a
+     * @throws IOException  If an I/O error occurs while either sending a
      *      command to the server or receiving a reply from the server.
      ***/
     public boolean sendSimpleMessage(String sender, String[] recipients,
@@ -498,12 +498,12 @@ public class SMTPClient extends SMTP
      * Logout of the SMTP server by sending the QUIT command.
      * <p>
      * @return True if successfully completed, false if not.
-     * @exception SMTPConnectionClosedException
+     * @throws SMTPConnectionClosedException
      *      If the SMTP server prematurely closes the connection as a result
      *      of the client being idle or some other reason causing the server
      *      to send SMTP reply code 421.  This exception may be caught either
      *      as an IOException or independently as itself.
-     * @exception IOException  If an I/O error occurs while either sending a
+     * @throws IOException  If an I/O error occurs while either sending a
      *      command to the server or receiving a reply from the server.
      ***/
     public boolean logout() throws IOException
@@ -518,12 +518,12 @@ public class SMTPClient extends SMTP
      * sender, recipient, and mail data, cleaing all buffers and tables.
      * <p>
      * @return True if successfully completed, false if not.
-     * @exception SMTPConnectionClosedException
+     * @throws SMTPConnectionClosedException
      *      If the SMTP server prematurely closes the connection as a result
      *      of the client being idle or some other reason causing the server
      *      to send SMTP reply code 421.  This exception may be caught either
      *      as an IOException or independently as itself.
-     * @exception IOException  If an I/O error occurs while either sending a
+     * @throws IOException  If an I/O error occurs while either sending a
      *      command to the server or receiving a reply from the server.
      ***/
     public boolean reset() throws IOException
@@ -538,12 +538,12 @@ public class SMTPClient extends SMTP
      * <p>
      * @param username  The username or email address to validate.
      * @return True if the username is valid, false if not.
-     * @exception SMTPConnectionClosedException
+     * @throws SMTPConnectionClosedException
      *      If the SMTP server prematurely closes the connection as a result
      *      of the client being idle or some other reason causing the server
      *      to send SMTP reply code 421.  This exception may be caught either
      *      as an IOException or independently as itself.
-     * @exception IOException  If an I/O error occurs while either sending a
+     * @throws IOException  If an I/O error occurs while either sending a
      *      command to the server or receiving a reply from the server.
      ***/
     public boolean verify(String username) throws IOException
@@ -563,12 +563,12 @@ public class SMTPClient extends SMTP
      * <p>
      * @return The system help string obtained from the server.  null if the
      *       information could not be obtained.
-     * @exception SMTPConnectionClosedException
+     * @throws SMTPConnectionClosedException
      *      If the SMTP server prematurely closes the connection as a result
      *      of the client being idle or some other reason causing the server
      *      to send SMTP reply code 421.  This exception may be caught either
      *      as an IOException or independently as itself.
-     * @exception IOException  If an I/O error occurs while either sending a
+     * @throws IOException  If an I/O error occurs while either sending a
      *  command to the server or receiving a reply from the server.
      ***/
     public String listHelp() throws IOException
@@ -587,12 +587,12 @@ public class SMTPClient extends SMTP
      * @param command The command on which to ask for help.
      * @return The command help string obtained from the server.  null if the
      *       information could not be obtained.
-     * @exception SMTPConnectionClosedException
+     * @throws SMTPConnectionClosedException
      *      If the SMTP server prematurely closes the connection as a result
      *      of the client being idle or some other reason causing the server
      *      to send SMTP reply code 421.  This exception may be caught either
      *      as an IOException or independently as itself.
-     * @exception IOException  If an I/O error occurs while either sending a
+     * @throws IOException  If an I/O error occurs while either sending a
      *  command to the server or receiving a reply from the server.
      ***/
     public String listHelp(String command) throws IOException
@@ -609,12 +609,12 @@ public class SMTPClient extends SMTP
      * server timeouts.
      * <p>
      * @return True if successfully completed, false if not.
-     * @exception SMTPConnectionClosedException
+     * @throws SMTPConnectionClosedException
      *      If the SMTP server prematurely closes the connection as a result
      *      of the client being idle or some other reason causing the server
      *      to send SMTP reply code 421.  This exception may be caught either
      *      as an IOException or independently as itself.
-     * @exception IOException  If an I/O error occurs while either sending a
+     * @throws IOException  If an I/O error occurs while either sending a
      *      command to the server or receiving a reply from the server.
      ***/
     public boolean sendNoOp() throws IOException

Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/telnet/TelnetClient.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/telnet/TelnetClient.java?rev=1747119&r1=1747118&r2=1747119&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/telnet/TelnetClient.java (original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/telnet/TelnetClient.java Tue Jun  7 02:22:24 2016
@@ -86,7 +86,7 @@ public class TelnetClient extends Telnet
     /***
      * Handles special connection requirements.
      *
-     * @exception IOException  If an error occurs during connection setup.
+     * @throws IOException  If an error occurs during connection setup.
      ***/
     @Override
     protected void _connectAction_() throws IOException

Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/telnet/TelnetInputStream.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/telnet/TelnetInputStream.java?rev=1747119&r1=1747118&r2=1747119&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/telnet/TelnetInputStream.java (original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/telnet/TelnetInputStream.java Tue Jun  7 02:22:24 2016
@@ -482,7 +482,7 @@ final class TelnetInputStream extends Bu
      * @param buffer  The byte array in which to store the data.
      * @return The number of bytes read. Returns -1 if the
      *          end of the message has been reached.
-     * @exception IOException If an error occurs in reading the underlying
+     * @throws IOException If an error occurs in reading the underlying
      *            stream.
      ***/
     @Override
@@ -503,7 +503,7 @@ final class TelnetInputStream extends Bu
      * @param length   The number of bytes to read.
      * @return The number of bytes read. Returns -1 if the
      *          end of the stream has been reached.
-     * @exception IOException If an error occurs while reading the underlying
+     * @throws IOException If an error occurs while reading the underlying
      *            stream.
      ***/
     @Override

Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/telnet/TelnetOutputStream.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/telnet/TelnetOutputStream.java?rev=1747119&r1=1747118&r2=1747119&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/telnet/TelnetOutputStream.java (original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/telnet/TelnetOutputStream.java Tue Jun  7 02:22:24 2016
@@ -49,7 +49,7 @@ final class TelnetOutputStream extends O
      * Writes a byte to the stream.
      * <p>
      * @param ch The byte to write.
-     * @exception IOException If an error occurs while writing to the underlying
+     * @throws IOException If an error occurs while writing to the underlying
      *            stream.
      ***/
     @Override
@@ -118,7 +118,7 @@ final class TelnetOutputStream extends O
      * Writes a byte array to the stream.
      * <p>
      * @param buffer  The byte array to write.
-     * @exception IOException If an error occurs while writing to the underlying
+     * @throws IOException If an error occurs while writing to the underlying
      *            stream.
      ***/
     @Override
@@ -135,7 +135,7 @@ final class TelnetOutputStream extends O
      * @param buffer  The byte array to write.
      * @param offset  The offset into the array at which to start copying data.
      * @param length  The number of bytes to write.
-     * @exception IOException If an error occurs while writing to the underlying
+     * @throws IOException If an error occurs while writing to the underlying
      *            stream.
      ***/
     @Override

Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/tftp/TFTP.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/tftp/TFTP.java?rev=1747119&r1=1747118&r2=1747119&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/tftp/TFTP.java (original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/tftp/TFTP.java Tue Jun  7 02:22:24 2016
@@ -136,7 +136,7 @@ public class TFTP extends DatagramSocket
      * may be in the local socket buffer.  This method need only be called
      * when you implement your own TFTP client or server.
      *
-     * @exception IOException if an I/O error occurs.
+     * @throws IOException if an I/O error occurs.
      ***/
     public final void discardPackets() throws IOException
     {
@@ -183,16 +183,16 @@ public class TFTP extends DatagramSocket
      * will be overwritten by the the call.
      *
      * @return The TFTPPacket received.
-     * @exception InterruptedIOException  If a socket timeout occurs.  The
+     * @throws InterruptedIOException  If a socket timeout occurs.  The
      *       Java documentation claims an InterruptedIOException is thrown
      *       on a DatagramSocket timeout, but in practice we find a
      *       SocketException is thrown.  You should catch both to be safe.
-     * @exception SocketException  If a socket timeout occurs.  The
+     * @throws SocketException  If a socket timeout occurs.  The
      *       Java documentation claims an InterruptedIOException is thrown
      *       on a DatagramSocket timeout, but in practice we find a
      *       SocketException is thrown.  You should catch both to be safe.
-     * @exception IOException  If some other I/O error occurs.
-     * @exception TFTPPacketException If an invalid TFTP packet is received.
+     * @throws IOException  If some other I/O error occurs.
+     * @throws TFTPPacketException If an invalid TFTP packet is received.
      ***/
     public final TFTPPacket bufferedReceive() throws IOException,
                 InterruptedIOException, SocketException, TFTPPacketException
@@ -220,7 +220,7 @@ public class TFTP extends DatagramSocket
      * will be overwritten by the the call.
      *
      * @param packet  The TFTP packet to send.
-     * @exception IOException  If some  I/O error occurs.
+     * @throws IOException  If some  I/O error occurs.
      ***/
     public final void bufferedSend(TFTPPacket packet) throws IOException
     {
@@ -262,7 +262,7 @@ public class TFTP extends DatagramSocket
      * Sends a TFTP packet to its destination.
      *
      * @param packet  The TFTP packet to send.
-     * @exception IOException  If some  I/O error occurs.
+     * @throws IOException  If some  I/O error occurs.
      ***/
     public final void send(TFTPPacket packet) throws IOException
     {
@@ -274,16 +274,16 @@ public class TFTP extends DatagramSocket
      * Receives a TFTPPacket.
      *
      * @return The TFTPPacket received.
-     * @exception InterruptedIOException  If a socket timeout occurs.  The
+     * @throws InterruptedIOException  If a socket timeout occurs.  The
      *       Java documentation claims an InterruptedIOException is thrown
      *       on a DatagramSocket timeout, but in practice we find a
      *       SocketException is thrown.  You should catch both to be safe.
-     * @exception SocketException  If a socket timeout occurs.  The
+     * @throws SocketException  If a socket timeout occurs.  The
      *       Java documentation claims an InterruptedIOException is thrown
      *       on a DatagramSocket timeout, but in practice we find a
      *       SocketException is thrown.  You should catch both to be safe.
-     * @exception IOException  If some other I/O error occurs.
-     * @exception TFTPPacketException If an invalid TFTP packet is received.
+     * @throws IOException  If some other I/O error occurs.
+     * @throws TFTPPacketException If an invalid TFTP packet is received.
      ***/
     public final TFTPPacket receive() throws IOException, InterruptedIOException,
                 SocketException, TFTPPacketException

Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/tftp/TFTPClient.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/tftp/TFTPClient.java?rev=1747119&r1=1747118&r2=1747119&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/tftp/TFTPClient.java (original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/tftp/TFTPClient.java Tue Jun  7 02:22:24 2016
@@ -120,7 +120,7 @@ public class TFTPClient extends TFTP
      * @param host   The remote host serving the file.
      * @param port   The port number of the remote TFTP server.
      * @return number of bytes read
-     * @exception IOException If an I/O error occurs.  The nature of the
+     * @throws IOException If an I/O error occurs.  The nature of the
      *            error will be reported in the message.
      ***/
     public int receiveFile(String filename, int mode, OutputStream output,
@@ -302,9 +302,9 @@ _receivePacket:
      * @param hostname The name of the remote host serving the file.
      * @param port     The port number of the remote TFTP server.
      * @return number of bytes read
-     * @exception IOException If an I/O error occurs.  The nature of the
+     * @throws IOException If an I/O error occurs.  The nature of the
      *            error will be reported in the message.
-     * @exception UnknownHostException  If the hostname cannot be resolved.
+     * @throws UnknownHostException  If the hostname cannot be resolved.
      ***/
     public int receiveFile(String filename, int mode, OutputStream output,
                            String hostname, int port)
@@ -323,7 +323,7 @@ _receivePacket:
      * @param output   The OutputStream to which the file should be written.
      * @param host     The remote host serving the file.
      * @return number of bytes read
-     * @exception IOException If an I/O error occurs.  The nature of the
+     * @throws IOException If an I/O error occurs.  The nature of the
      *            error will be reported in the message.
      ***/
     public int receiveFile(String filename, int mode, OutputStream output,
@@ -341,9 +341,9 @@ _receivePacket:
      * @param output   The OutputStream to which the file should be written.
      * @param hostname The name of the remote host serving the file.
      * @return number of bytes read
-     * @exception IOException If an I/O error occurs.  The nature of the
+     * @throws IOException If an I/O error occurs.  The nature of the
      *            error will be reported in the message.
-     * @exception UnknownHostException  If the hostname cannot be resolved.
+     * @throws UnknownHostException  If the hostname cannot be resolved.
      ***/
     public int receiveFile(String filename, int mode, OutputStream output,
                            String hostname)
@@ -368,7 +368,7 @@ _receivePacket:
      * @param input the input stream containing the data to be sent
      * @param host     The remote host receiving the file.
      * @param port     The port number of the remote TFTP server.
-     * @exception IOException If an I/O error occurs.  The nature of the
+     * @throws IOException If an I/O error occurs.  The nature of the
      *            error will be reported in the message.
      ***/
     public void sendFile(String filename, int mode, InputStream input,
@@ -565,9 +565,9 @@ _receivePacket:
      * @param input the input stream containing the data to be sent
      * @param hostname The name of the remote host receiving the file.
      * @param port     The port number of the remote TFTP server.
-     * @exception IOException If an I/O error occurs.  The nature of the
+     * @throws IOException If an I/O error occurs.  The nature of the
      *            error will be reported in the message.
-     * @exception UnknownHostException  If the hostname cannot be resolved.
+     * @throws UnknownHostException  If the hostname cannot be resolved.
      ***/
     public void sendFile(String filename, int mode, InputStream input,
                          String hostname, int port)
@@ -585,9 +585,9 @@ _receivePacket:
      * @param mode     The TFTP mode of the transfer (one of the MODE constants).
      * @param input the input stream containing the data to be sent
      * @param host     The name of the remote host receiving the file.
-     * @exception IOException If an I/O error occurs.  The nature of the
+     * @throws IOException If an I/O error occurs.  The nature of the
      *            error will be reported in the message.
-     * @exception UnknownHostException  If the hostname cannot be resolved.
+     * @throws UnknownHostException  If the hostname cannot be resolved.
      ***/
     public void sendFile(String filename, int mode, InputStream input,
                          InetAddress host)
@@ -604,9 +604,9 @@ _receivePacket:
      * @param mode     The TFTP mode of the transfer (one of the MODE constants).
      * @param input the input stream containing the data to be sent
      * @param hostname The name of the remote host receiving the file.
-     * @exception IOException If an I/O error occurs.  The nature of the
+     * @throws IOException If an I/O error occurs.  The nature of the
      *            error will be reported in the message.
-     * @exception UnknownHostException  If the hostname cannot be resolved.
+     * @throws UnknownHostException  If the hostname cannot be resolved.
      ***/
     public void sendFile(String filename, int mode, InputStream input,
                          String hostname)

Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/tftp/TFTPPacket.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/tftp/TFTPPacket.java?rev=1747119&r1=1747118&r2=1747119&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/tftp/TFTPPacket.java (original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/tftp/TFTPPacket.java Tue Jun  7 02:22:24 2016
@@ -118,7 +118,7 @@ public abstract class TFTPPacket
      *
      * @param datagram  The datagram containing a TFTP packet.
      * @return The TFTPPacket object corresponding to the datagram.
-     * @exception TFTPPacketException  If the datagram does not contain a valid
+     * @throws TFTPPacketException  If the datagram does not contain a valid
      *             TFTP packet.
      ***/
     public static final TFTPPacket newTFTPPacket(DatagramPacket datagram)

Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/time/TimeTCPClient.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/time/TimeTCPClient.java?rev=1747119&r1=1747118&r2=1747119&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/time/TimeTCPClient.java (original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/time/TimeTCPClient.java Tue Jun  7 02:22:24 2016
@@ -74,7 +74,7 @@ public final class TimeTCPClient extends
      * before calling <code> getTime() </code> again.
      *
      * @return The time value retrieved from the server.
-     * @exception IOException  If an error occurs while fetching the time.
+     * @throws IOException  If an error occurs while fetching the time.
      ***/
     public long getTime() throws IOException
     {
@@ -97,7 +97,7 @@ public final class TimeTCPClient extends
      *
      * @return A Date value containing the time retrieved from the server
      *     converted to the local timezone.
-     * @exception IOException  If an error occurs while fetching the time.
+     * @throws IOException  If an error occurs while fetching the time.
      ***/
     public Date getDate() throws IOException
     {

Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/time/TimeUDPClient.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/time/TimeUDPClient.java?rev=1747119&r1=1747118&r2=1747119&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/time/TimeUDPClient.java (original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/time/TimeUDPClient.java Tue Jun  7 02:22:24 2016
@@ -69,7 +69,7 @@ public final class TimeUDPClient extends
      * @param host The address of the server.
      * @param port The port of the service.
      * @return The time value retrieved from the server.
-     * @exception IOException If an error occurs while retrieving the time.
+     * @throws IOException If an error occurs while retrieving the time.
      ***/
     public long getTime(InetAddress host, int port) throws IOException
     {
@@ -111,7 +111,7 @@ public final class TimeUDPClient extends
      * @param port The port of the service.
      * @return A Date value containing the time retrieved from the server
      *     converted to the local timezone.
-     * @exception IOException  If an error occurs while fetching the time.
+     * @throws IOException  If an error occurs while fetching the time.
      ***/
     public Date getDate(InetAddress host, int port) throws IOException
     {

Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/whois/WhoisClient.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/whois/WhoisClient.java?rev=1747119&r1=1747118&r2=1747119&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/whois/WhoisClient.java (original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/whois/WhoisClient.java Tue Jun  7 02:22:24 2016
@@ -78,7 +78,7 @@ public final class WhoisClient extends F
      *
      * @param handle  The handle to lookup.
      * @return The result of the whois query.
-     * @exception IOException  If an I/O error occurs during the operation.
+     * @throws IOException  If an I/O error occurs during the operation.
      ***/
     public String query(String handle) throws IOException
     {
@@ -97,7 +97,7 @@ public final class WhoisClient extends F
      * @param handle  The handle to lookup.
      * @return The InputStream of the network connection of the whois query.
      *         Can be read to obtain whois results.
-     * @exception IOException  If an I/O error occurs during the operation.
+     * @throws IOException  If an I/O error occurs during the operation.
      ***/
     public InputStream getInputStream(String handle) throws IOException
     {