commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1747119 [1/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/
Date Tue, 07 Jun 2016 02:22:25 GMT
Author: ggregory
Date: Tue Jun  7 02:22:24 2016
New Revision: 1747119

URL: http://svn.apache.org/viewvc?rev=1747119&view=rev
Log: (empty)

Modified:
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/DatagramSocketClient.java
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/DatagramSocketFactory.java
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/DefaultDatagramSocketFactory.java
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/DefaultSocketFactory.java
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/SocketClient.java
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/bsd/RCommandClient.java
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/bsd/RExecClient.java
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/bsd/RLoginClient.java
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/chargen/CharGenUDPClient.java
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/daytime/DaytimeTCPClient.java
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/daytime/DaytimeUDPClient.java
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/discard/DiscardUDPClient.java
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/echo/EchoUDPClient.java
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/finger/FingerClient.java
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTP.java
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPClient.java
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPFileEntryParser.java
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPFileEntryParserImpl.java
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPListParseEngine.java
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPSClient.java
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/parser/DefaultFTPFileEntryParserFactory.java
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/parser/FTPFileEntryParserFactory.java
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/parser/MacOsPeterFTPEntryParser.java
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/parser/NTFTPEntryParser.java
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/parser/NetwareFTPEntryParser.java
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/parser/OS2FTPEntryParser.java
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/parser/OS400FTPEntryParser.java
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/parser/RegexFTPFileEntryParserImpl.java
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/parser/UnixFTPEntryParser.java
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/parser/VMSFTPEntryParser.java
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/parser/VMSVersioningFTPEntryParser.java
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/imap/AuthenticatingIMAPClient.java
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/imap/IMAP.java
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/imap/IMAPClient.java
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/io/DotTerminatedMessageReader.java
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/io/DotTerminatedMessageWriter.java
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/io/FromNetASCIIInputStream.java
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/io/FromNetASCIIOutputStream.java
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/io/SocketInputStream.java
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/io/SocketOutputStream.java
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/io/ToNetASCIIInputStream.java
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/io/ToNetASCIIOutputStream.java
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/io/Util.java
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/nntp/NNTP.java
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/nntp/NNTPClient.java
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/ntp/NTPUDPClient.java
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/pop3/ExtendedPOP3Client.java
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/pop3/POP3.java
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/pop3/POP3Client.java
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/smtp/AuthenticatingSMTPClient.java
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/smtp/SMTP.java
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/smtp/SMTPClient.java
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/telnet/TelnetClient.java
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/telnet/TelnetInputStream.java
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/telnet/TelnetOutputStream.java
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/tftp/TFTP.java
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/tftp/TFTPClient.java
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/tftp/TFTPPacket.java
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/time/TimeTCPClient.java
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/time/TimeUDPClient.java
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/whois/WhoisClient.java

Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/DatagramSocketClient.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/DatagramSocketClient.java?rev=1747119&r1=1747118&r2=1747119&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/DatagramSocketClient.java (original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/DatagramSocketClient.java Tue Jun  7 02:22:24 2016
@@ -96,7 +96,7 @@ public abstract class DatagramSocketClie
      * _isOpen_ is set to true after calling this method and _socket_
      * is set to the newly opened socket.
      *
-     * @exception SocketException If the socket could not be opened or the
+     * @throws SocketException If the socket could not be opened or the
      *   timeout could not be set.
      ***/
     public void open() throws SocketException
@@ -116,7 +116,7 @@ public abstract class DatagramSocketClie
      * is set to the newly opened socket.
      *
      * @param port The port to use for the socket.
-     * @exception SocketException If the socket could not be opened or the
+     * @throws SocketException If the socket could not be opened or the
      *   timeout could not be set.
      ***/
     public void open(int port) throws SocketException
@@ -138,7 +138,7 @@ public abstract class DatagramSocketClie
      *
      * @param port The port to use for the socket.
      * @param laddr  The local address to use.
-     * @exception SocketException If the socket could not be opened or the
+     * @throws SocketException If the socket could not be opened or the
      *   timeout could not be set.
      ***/
     public void open(int port, InetAddress laddr) throws SocketException

Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/DatagramSocketFactory.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/DatagramSocketFactory.java?rev=1747119&r1=1747118&r2=1747119&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/DatagramSocketFactory.java (original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/DatagramSocketFactory.java Tue Jun  7 02:22:24 2016
@@ -42,7 +42,7 @@ public interface DatagramSocketFactory
      * Creates a DatagramSocket on the local host at the first available port.
      * @return the socket
      *
-     * @exception SocketException If the socket could not be created.
+     * @throws SocketException If the socket could not be created.
      ***/
     public DatagramSocket createDatagramSocket() throws SocketException;
 
@@ -51,7 +51,7 @@ public interface DatagramSocketFactory
      *
      * @param port The port to use for the socket.
      * @return the socket
-     * @exception SocketException If the socket could not be created.
+     * @throws SocketException If the socket could not be created.
      ***/
     public DatagramSocket createDatagramSocket(int port) throws SocketException;
 
@@ -62,7 +62,7 @@ public interface DatagramSocketFactory
      * @param port The port to use for the socket.
      * @param laddr  The local address to use.
      * @return the socket
-     * @exception SocketException If the socket could not be created.
+     * @throws SocketException If the socket could not be created.
      ***/
     public DatagramSocket createDatagramSocket(int port, InetAddress laddr)
     throws SocketException;

Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/DefaultDatagramSocketFactory.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/DefaultDatagramSocketFactory.java?rev=1747119&r1=1747118&r2=1747119&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/DefaultDatagramSocketFactory.java (original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/DefaultDatagramSocketFactory.java Tue Jun  7 02:22:24 2016
@@ -40,7 +40,7 @@ public class DefaultDatagramSocketFactor
     /***
      * Creates a DatagramSocket on the local host at the first available port.
      * @return a new DatagramSocket
-     * @exception SocketException If the socket could not be created.
+     * @throws SocketException If the socket could not be created.
      ***/
     @Override
     public DatagramSocket createDatagramSocket() throws SocketException
@@ -53,7 +53,7 @@ public class DefaultDatagramSocketFactor
      *
      * @param port The port to use for the socket.
      * @return a new DatagramSocket
-     * @exception SocketException If the socket could not be created.
+     * @throws SocketException If the socket could not be created.
      ***/
     @Override
     public DatagramSocket createDatagramSocket(int port) throws SocketException
@@ -68,7 +68,7 @@ public class DefaultDatagramSocketFactor
      * @param port The port to use for the socket.
      * @param laddr  The local address to use.
      * @return a new DatagramSocket
-     * @exception SocketException If the socket could not be created.
+     * @throws SocketException If the socket could not be created.
      ***/
     @Override
     public DatagramSocket createDatagramSocket(int port, InetAddress laddr)

Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/DefaultSocketFactory.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/DefaultSocketFactory.java?rev=1747119&r1=1747118&r2=1747119&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/DefaultSocketFactory.java (original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/DefaultSocketFactory.java Tue Jun  7 02:22:24 2016
@@ -68,7 +68,7 @@ public class DefaultSocketFactory extend
      * Creates an unconnected Socket.
      *
      * @return A new unconnected Socket.
-     * @exception IOException If an I/O error occurs while creating the Socket.
+     * @throws IOException If an I/O error occurs while creating the Socket.
      * @since 3.2
      */
     @Override
@@ -87,8 +87,8 @@ public class DefaultSocketFactory extend
      * @param host The hostname to connect to.
      * @param port The port to connect to.
      * @return A Socket connected to the given host and port.
-     * @exception UnknownHostException  If the hostname cannot be resolved.
-     * @exception IOException If an I/O error occurs while creating the Socket.
+     * @throws UnknownHostException  If the hostname cannot be resolved.
+     * @throws IOException If an I/O error occurs while creating the Socket.
      ***/
     @Override
     public Socket createSocket(String host, int port)
@@ -109,7 +109,7 @@ public class DefaultSocketFactory extend
      * @param address The address of the host to connect to.
      * @param port The port to connect to.
      * @return A Socket connected to the given host and port.
-     * @exception IOException If an I/O error occurs while creating the Socket.
+     * @throws IOException If an I/O error occurs while creating the Socket.
      ***/
     @Override
     public Socket createSocket(InetAddress address, int port)
@@ -133,8 +133,8 @@ public class DefaultSocketFactory extend
      * @param localAddr  The local address to use.
      * @param localPort  The local port to use.
      * @return A Socket connected to the given host and port.
-     * @exception UnknownHostException  If the hostname cannot be resolved.
-     * @exception IOException If an I/O error occurs while creating the Socket.
+     * @throws UnknownHostException  If the hostname cannot be resolved.
+     * @throws IOException If an I/O error occurs while creating the Socket.
      ***/
     @Override
     public Socket createSocket(String host, int port,
@@ -160,7 +160,7 @@ public class DefaultSocketFactory extend
      * @param localAddr  The local address to use.
      * @param localPort  The local port to use.
      * @return A Socket connected to the given host and port.
-     * @exception IOException If an I/O error occurs while creating the Socket.
+     * @throws IOException If an I/O error occurs while creating the Socket.
      ***/
     @Override
     public Socket createSocket(InetAddress address, int port,
@@ -183,7 +183,7 @@ public class DefaultSocketFactory extend
      *
      * @param port  The port on which to listen, or 0 to use any free port.
      * @return A ServerSocket that will listen on a specified port.
-     * @exception IOException If an I/O error occurs while creating
+     * @throws IOException If an I/O error occurs while creating
      *                        the ServerSocket.
      ***/
     public ServerSocket createServerSocket(int port) throws IOException
@@ -199,7 +199,7 @@ public class DefaultSocketFactory extend
      * @param port  The port on which to listen, or 0 to use any free port.
      * @param backlog  The maximum length of the queue for incoming connections.
      * @return A ServerSocket that will listen on a specified port.
-     * @exception IOException If an I/O error occurs while creating
+     * @throws IOException If an I/O error occurs while creating
      *                        the ServerSocket.
      ***/
     public ServerSocket createServerSocket(int port, int backlog)
@@ -218,7 +218,7 @@ public class DefaultSocketFactory extend
      * @param backlog  The maximum length of the queue for incoming connections.
      * @param bindAddr  The local address to which the ServerSocket should bind.
      * @return A ServerSocket that will listen on a specified port.
-     * @exception IOException If an I/O error occurs while creating
+     * @throws IOException If an I/O error occurs while creating
      *                        the ServerSocket.
      ***/
     public ServerSocket createServerSocket(int port, int backlog,

Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/SocketClient.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/SocketClient.java?rev=1747119&r1=1747118&r2=1747119&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/SocketClient.java (original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/SocketClient.java Tue Jun  7 02:22:24 2016
@@ -169,8 +169,8 @@ public abstract class SocketClient
      * <p>
      * @param host  The remote host.
      * @param port  The port to connect to on the remote host.
-     * @exception SocketException If the socket timeout could not be set.
-     * @exception IOException If the socket could not be opened.  In most
+     * @throws SocketException If the socket timeout could not be set.
+     * @throws IOException If the socket could not be opened.  In most
      *  cases you will only want to catch IOException since SocketException is
      *  derived from it.
      */
@@ -197,11 +197,11 @@ public abstract class SocketClient
      * <p>
      * @param hostname  The name of the remote host.
      * @param port  The port to connect to on the remote host.
-     * @exception SocketException If the socket timeout could not be set.
-     * @exception IOException If the socket could not be opened.  In most
+     * @throws SocketException If the socket timeout could not be set.
+     * @throws IOException If the socket could not be opened.  In most
      *  cases you will only want to catch IOException since SocketException is
      *  derived from it.
-     * @exception java.net.UnknownHostException If the hostname cannot be resolved.
+     * @throws java.net.UnknownHostException If the hostname cannot be resolved.
      */
     public void connect(String hostname, int port)
     throws SocketException, IOException
@@ -221,8 +221,8 @@ public abstract class SocketClient
      * @param port  The port to connect to on the remote host.
      * @param localAddr  The local address to use.
      * @param localPort  The local port to use.
-     * @exception SocketException If the socket timeout could not be set.
-     * @exception IOException If the socket could not be opened.  In most
+     * @throws SocketException If the socket timeout could not be set.
+     * @throws IOException If the socket could not be opened.  In most
      *  cases you will only want to catch IOException since SocketException is
      *  derived from it.
      */
@@ -254,11 +254,11 @@ public abstract class SocketClient
      * @param port  The port to connect to on the remote host.
      * @param localAddr  The local address to use.
      * @param localPort  The local port to use.
-     * @exception SocketException If the socket timeout could not be set.
-     * @exception IOException If the socket could not be opened.  In most
+     * @throws SocketException If the socket timeout could not be set.
+     * @throws IOException If the socket could not be opened.  In most
      *  cases you will only want to catch IOException since SocketException is
      *  derived from it.
-     * @exception java.net.UnknownHostException If the hostname cannot be resolved.
+     * @throws java.net.UnknownHostException If the hostname cannot be resolved.
      */
     public void connect(String hostname, int port,
                         InetAddress localAddr, int localPort)
@@ -276,8 +276,8 @@ public abstract class SocketClient
      * is called to perform connection initialization actions.
      * <p>
      * @param host  The remote host.
-     * @exception SocketException If the socket timeout could not be set.
-     * @exception IOException If the socket could not be opened.  In most
+     * @throws SocketException If the socket timeout could not be set.
+     * @throws IOException If the socket could not be opened.  In most
      *  cases you will only want to catch IOException since SocketException is
      *  derived from it.
      */
@@ -295,11 +295,11 @@ public abstract class SocketClient
      * is called to perform connection initialization actions.
      * <p>
      * @param hostname  The name of the remote host.
-     * @exception SocketException If the socket timeout could not be set.
-     * @exception IOException If the socket could not be opened.  In most
+     * @throws SocketException If the socket timeout could not be set.
+     * @throws IOException If the socket could not be opened.  In most
      *  cases you will only want to catch IOException since SocketException is
      *  derived from it.
-     * @exception java.net.UnknownHostException If the hostname cannot be resolved.
+     * @throws java.net.UnknownHostException If the hostname cannot be resolved.
      */
     public void connect(String hostname) throws SocketException, IOException
     {
@@ -316,7 +316,7 @@ public abstract class SocketClient
      * again.  _isConnected_ is set to false, _socket_ is set to null,
      * _input_ is set to null, and _output_ is set to null.
      * <p>
-     * @exception IOException  If there is an error closing the socket.
+     * @throws IOException  If there is an error closing the socket.
      */
     public void disconnect() throws IOException
     {
@@ -475,7 +475,7 @@ public abstract class SocketClient
      *
      * @param timeout  The timeout in milliseconds to use for the currently
      *                 open socket connection.
-     * @exception SocketException If the operation fails.
+     * @throws SocketException If the operation fails.
      * @throws NullPointerException if the socket is not currently open
      */
     public void setSoTimeout(int timeout) throws SocketException
@@ -528,7 +528,7 @@ public abstract class SocketClient
      * Returns the timeout in milliseconds of the currently opened socket.
      * <p>
      * @return The timeout in milliseconds of the currently opened socket.
-     * @exception SocketException If the operation fails.
+     * @throws SocketException If the operation fails.
      * @throws NullPointerException if the socket is not currently open
      */
     public int getSoTimeout() throws SocketException
@@ -541,7 +541,7 @@ public abstract class SocketClient
      * currently opened socket.
      * <p>
      * @param on  True if Nagle's algorithm is to be enabled, false if not.
-     * @exception SocketException If the operation fails.
+     * @throws SocketException If the operation fails.
      * @throws NullPointerException if the socket is not currently open
      */
     public void setTcpNoDelay(boolean on) throws SocketException
@@ -556,7 +556,7 @@ public abstract class SocketClient
      * <p>
      * @return True if Nagle's algorithm is enabled on the currently opened
      *        socket, false otherwise.
-     * @exception SocketException If the operation fails.
+     * @throws SocketException If the operation fails.
      * @throws NullPointerException if the socket is not currently open
      */
     public boolean getTcpNoDelay() throws SocketException
@@ -597,7 +597,7 @@ public abstract class SocketClient
      * <p>
      * @param on  True if linger is to be enabled, false if not.
      * @param val The linger timeout (in hundredths of a second?)
-     * @exception SocketException If the operation fails.
+     * @throws SocketException If the operation fails.
      * @throws NullPointerException if the socket is not currently open
      */
     public void setSoLinger(boolean on, int val) throws SocketException
@@ -611,7 +611,7 @@ public abstract class SocketClient
      * <p>
      * @return The current SO_LINGER timeout.  If SO_LINGER is disabled returns
      *         -1.
-     * @exception SocketException If the operation fails.
+     * @throws SocketException If the operation fails.
      * @throws NullPointerException if the socket is not currently open
      */
     public int getSoLinger() throws SocketException

Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/bsd/RCommandClient.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/bsd/RCommandClient.java?rev=1747119&r1=1747118&r2=1747119&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/bsd/RCommandClient.java (original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/bsd/RCommandClient.java Tue Jun  7 02:22:24 2016
@@ -171,9 +171,9 @@ public class RCommandClient extends RExe
      * @param host  The remote host.
      * @param port  The port to connect to on the remote host.
      * @param localAddr  The local address to use.
-     * @exception SocketException If the socket timeout could not be set.
-     * @exception BindException If all acceptable rshell ports are in use.
-     * @exception IOException If the socket could not be opened.  In most
+     * @throws SocketException If the socket timeout could not be set.
+     * @throws BindException If all acceptable rshell ports are in use.
+     * @throws IOException If the socket could not be opened.  In most
      *  cases you will only want to catch IOException since SocketException is
      *  derived from it.
      ***/
@@ -219,9 +219,9 @@ public class RCommandClient extends RExe
      *
      * @param host  The remote host.
      * @param port  The port to connect to on the remote host.
-     * @exception SocketException If the socket timeout could not be set.
-     * @exception BindException If all acceptable rshell ports are in use.
-     * @exception IOException If the socket could not be opened.  In most
+     * @throws SocketException If the socket timeout could not be set.
+     * @throws BindException If all acceptable rshell ports are in use.
+     * @throws IOException If the socket could not be opened.  In most
      *  cases you will only want to catch IOException since SocketException is
      *  derived from it.
      ***/
@@ -242,12 +242,12 @@ public class RCommandClient extends RExe
      *
      * @param hostname  The name of the remote host.
      * @param port  The port to connect to on the remote host.
-     * @exception SocketException If the socket timeout could not be set.
-     * @exception BindException If all acceptable rshell ports are in use.
-     * @exception IOException If the socket could not be opened.  In most
+     * @throws SocketException If the socket timeout could not be set.
+     * @throws BindException If all acceptable rshell ports are in use.
+     * @throws IOException If the socket could not be opened.  In most
      *  cases you will only want to catch IOException since SocketException is
      *  derived from it.
-     * @exception UnknownHostException If the hostname cannot be resolved.
+     * @throws UnknownHostException If the hostname cannot be resolved.
      ***/
     @Override
     public void connect(String hostname, int port)
@@ -267,9 +267,9 @@ public class RCommandClient extends RExe
      * @param hostname  The remote host.
      * @param port  The port to connect to on the remote host.
      * @param localAddr  The local address to use.
-     * @exception SocketException If the socket timeout could not be set.
-     * @exception BindException If all acceptable rshell ports are in use.
-     * @exception IOException If the socket could not be opened.  In most
+     * @throws SocketException If the socket timeout could not be set.
+     * @throws BindException If all acceptable rshell ports are in use.
+     * @throws IOException If the socket could not be opened.  In most
      *  cases you will only want to catch IOException since SocketException is
      *  derived from it.
      ***/
@@ -293,11 +293,11 @@ public class RCommandClient extends RExe
      * @param port  The port to connect to on the remote host.
      * @param localAddr  The local address to use.
      * @param localPort  The local port to use.
-     * @exception SocketException If the socket timeout could not be set.
-     * @exception IOException If the socket could not be opened.  In most
+     * @throws SocketException If the socket timeout could not be set.
+     * @throws IOException If the socket could not be opened.  In most
      *  cases you will only want to catch IOException since SocketException is
      *  derived from it.
-     * @exception IllegalArgumentException If an invalid local port number
+     * @throws IllegalArgumentException If an invalid local port number
      *            is specified.
      ***/
     @Override
@@ -325,12 +325,12 @@ public class RCommandClient extends RExe
      * @param port  The port to connect to on the remote host.
      * @param localAddr  The local address to use.
      * @param localPort  The local port to use.
-     * @exception SocketException If the socket timeout could not be set.
-     * @exception IOException If the socket could not be opened.  In most
+     * @throws SocketException If the socket timeout could not be set.
+     * @throws IOException If the socket could not be opened.  In most
      *  cases you will only want to catch IOException since SocketException is
      *  derived from it.
-     * @exception UnknownHostException If the hostname cannot be resolved.
-     * @exception IllegalArgumentException If an invalid local port number
+     * @throws UnknownHostException If the hostname cannot be resolved.
+     * @throws IllegalArgumentException If an invalid local port number
      *            is specified.
      ***/
     @Override
@@ -378,7 +378,7 @@ public class RCommandClient extends RExe
      * @param separateErrorStream True if you would like the standard error
      *        to be transmitted through a different stream than standard output.
      *        False if not.
-     * @exception IOException If the rcommand() attempt fails.  The exception
+     * @throws IOException If the rcommand() attempt fails.  The exception
      *            will contain a message indicating the nature of the failure.
      ***/
     public void rcommand(String localUsername, String remoteUsername,

Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/bsd/RExecClient.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/bsd/RExecClient.java?rev=1747119&r1=1747118&r2=1747119&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/bsd/RExecClient.java (original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/bsd/RExecClient.java Tue Jun  7 02:22:24 2016
@@ -196,7 +196,7 @@ public class RExecClient extends SocketC
      * @param separateErrorStream True if you would like the standard error
      *        to be transmitted through a different stream than standard output.
      *        False if not.
-     * @exception IOException If the rexec() attempt fails.  The exception
+     * @throws IOException If the rexec() attempt fails.  The exception
      *            will contain a message indicating the nature of the failure.
      ***/
     public void rexec(String username, String password,
@@ -255,7 +255,7 @@ public class RExecClient extends SocketC
      * Disconnects from the server, closing all associated open sockets and
      * streams.
      *
-     * @exception IOException If there an error occurs while disconnecting.
+     * @throws IOException If there an error occurs while disconnecting.
      ***/
     @Override
     public void disconnect() throws IOException

Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/bsd/RLoginClient.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/bsd/RLoginClient.java?rev=1747119&r1=1747118&r2=1747119&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/bsd/RLoginClient.java (original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/bsd/RLoginClient.java Tue Jun  7 02:22:24 2016
@@ -105,7 +105,7 @@ public class RLoginClient extends RComma
      *        "network", etc.)
      * @param terminalSpeed  The speed of the user's terminal, expressed
      *        as a baud rate or bps (e.g., 9600 or 38400)
-     * @exception IOException If the rlogin() attempt fails.  The exception
+     * @throws IOException If the rlogin() attempt fails.  The exception
      *            will contain a message indicating the nature of the failure.
      ***/
     public void rlogin(String localUsername, String remoteUsername,

Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/chargen/CharGenUDPClient.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/chargen/CharGenUDPClient.java?rev=1747119&r1=1747118&r2=1747119&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/chargen/CharGenUDPClient.java (original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/chargen/CharGenUDPClient.java Tue Jun  7 02:22:24 2016
@@ -87,7 +87,7 @@ public final class CharGenUDPClient exte
      *
      * @param host The address of the server.
      * @param port The port of the service.
-     * @exception IOException If an error occurs while sending the datagram.
+     * @throws IOException If an error occurs while sending the datagram.
      ***/
     public void send(InetAddress host, int port) throws IOException
     {
@@ -111,7 +111,7 @@ public final class CharGenUDPClient exte
      * and systat require multiple calls to receive() with timeout detection.
      *
      * @return The reply data from the server.
-     * @exception IOException If an error occurs while receiving the datagram.
+     * @throws IOException If an error occurs while receiving the datagram.
      ***/
     public byte[] receive() throws IOException
     {

Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/daytime/DaytimeTCPClient.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/daytime/DaytimeTCPClient.java?rev=1747119&r1=1747118&r2=1747119&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/daytime/DaytimeTCPClient.java (original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/daytime/DaytimeTCPClient.java Tue Jun  7 02:22:24 2016
@@ -63,7 +63,7 @@ public final class DaytimeTCPClient exte
      * before calling <code> getTime() </code> again.
      *
      * @return The time string retrieved from the server.
-     * @exception IOException  If an error occurs while fetching the time string.
+     * @throws IOException  If an error occurs while fetching the time string.
      */
     public String getTime() throws IOException
     {

Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/daytime/DaytimeUDPClient.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/daytime/DaytimeUDPClient.java?rev=1747119&r1=1747118&r2=1747119&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/daytime/DaytimeUDPClient.java (original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/daytime/DaytimeUDPClient.java Tue Jun  7 02:22:24 2016
@@ -54,7 +54,7 @@ public final class DaytimeUDPClient exte
      * @param host The address of the server.
      * @param port The port of the service.
      * @return The time string.
-     * @exception IOException If an error occurs while retrieving the time.
+     * @throws IOException If an error occurs while retrieving the time.
      */
     public String getTime(InetAddress host, int port) throws IOException
     {

Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/discard/DiscardUDPClient.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/discard/DiscardUDPClient.java?rev=1747119&r1=1747118&r2=1747119&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/discard/DiscardUDPClient.java (original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/discard/DiscardUDPClient.java Tue Jun  7 02:22:24 2016
@@ -57,7 +57,7 @@ public class DiscardUDPClient extends Da
      *    or equal to the length of the data byte array.
      * @param host  The address of the server.
      * @param port  The service port.
-     * @exception IOException If an error occurs during the datagram send
+     * @throws IOException If an error occurs during the datagram send
      *            operation.
      ***/
     public void send(byte[] data, int length, InetAddress host, int port)

Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/echo/EchoUDPClient.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/echo/EchoUDPClient.java?rev=1747119&r1=1747118&r2=1747119&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/echo/EchoUDPClient.java (original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/echo/EchoUDPClient.java Tue Jun  7 02:22:24 2016
@@ -53,7 +53,7 @@ public final class EchoUDPClient extends
      * @param length  The length of the data to send.  Should be less than
      *    or equal to the length of the data byte array.
      * @param host  The address of the server.
-     * @exception IOException If an error occurs during the datagram send
+     * @throws IOException If an error occurs during the datagram send
      *     operation.
      ***/
     @Override
@@ -81,7 +81,7 @@ public final class EchoUDPClient extends
      * @param length  of the buffer
      *
      * @return  Length of actual data received.
-     * @exception IOException If an error occurs while receiving the data.
+     * @throws IOException If an error occurs while receiving the data.
      ***/
     public int receive(byte[] data, int length) throws IOException
     {

Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/finger/FingerClient.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/finger/FingerClient.java?rev=1747119&r1=1747118&r2=1747119&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/finger/FingerClient.java (original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/finger/FingerClient.java Tue Jun  7 02:22:24 2016
@@ -79,7 +79,7 @@ public class FingerClient extends Socket
      * @param longOutput Set to true if long output is requested, false if not.
      * @param username  The name of the user to finger.
      * @return The result of the finger query.
-     * @exception IOException If an I/O error occurs while reading the socket.
+     * @throws IOException If an I/O error occurs while reading the socket.
      ***/
     public String query(boolean longOutput, String username) throws IOException
     {
@@ -116,7 +116,7 @@ public class FingerClient extends Socket
      *
      * @param longOutput Set to true if long output is requested, false if not.
      * @return The result of the finger query.
-     * @exception IOException If an I/O error occurs while reading the socket.
+     * @throws IOException If an I/O error occurs while reading the socket.
      ***/
     public String query(boolean longOutput) throws IOException
     {
@@ -134,7 +134,7 @@ public class FingerClient extends Socket
      * @param username  The name of the user to finger.
      * @return The InputStream of the network connection of the finger query.
      *         Can be read to obtain finger results.
-     * @exception IOException If an I/O error during the operation.
+     * @throws IOException If an I/O error during the operation.
      ***/
     public InputStream getInputStream(boolean longOutput, String username)
     throws IOException
@@ -154,7 +154,7 @@ public class FingerClient extends Socket
      *        null for the platform's default encoding
      * @return The InputStream of the network connection of the finger query.
      *         Can be read to obtain finger results.
-     * @exception IOException If an I/O error during the operation.
+     * @throws IOException If an I/O error during the operation.
      ***/
     public InputStream getInputStream(boolean longOutput, String username, String encoding)
     throws IOException
@@ -188,7 +188,7 @@ public class FingerClient extends Socket
      * @param longOutput Set to true if long output is requested, false if not.
      * @return The InputStream of the network connection of the finger query.
      *         Can be read to obtain finger results.
-     * @exception IOException If an I/O error during the operation.
+     * @throws IOException If an I/O error during the operation.
      ***/
     public InputStream getInputStream(boolean longOutput) throws IOException
     {

Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTP.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTP.java?rev=1747119&r1=1747118&r2=1747119&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTP.java (original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTP.java Tue Jun  7 02:22:24 2016
@@ -455,7 +455,7 @@ public class FTP extends SocketClient
      * last command is voided so that the memory it used may be reclaimed.
      * Also sets {@link #_controlInput_} and {@link #_controlOutput_} to null.
      *
-     * @exception IOException If an error occurs while disconnecting.
+     * @throws IOException If an error occurs while disconnecting.
      ***/
     @Override
     public void disconnect() throws IOException
@@ -480,12 +480,12 @@ public class FTP extends SocketClient
      *             set to null, then the command is sent with no argument.
      * @return The integer value of the FTP reply code returned by the server
      *         in response to the command.
-     * @exception FTPConnectionClosedException
+     * @throws FTPConnectionClosedException
      *      If the FTP server prematurely closes the connection as a result
      *      of the client being idle or some other reason causing the server
      *      to send FTP 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
@@ -563,12 +563,12 @@ public class FTP extends SocketClient
      *             set to null, then the command is sent with no argument.
      * @return The integer value of the FTP reply code returned by the server
      *         in response to the command.
-     * @exception FTPConnectionClosedException
+     * @throws FTPConnectionClosedException
      *      If the FTP server prematurely closes the connection as a result
      *      of the client being idle or some other reason causing the server
      *      to send FTP 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.
      * @deprecated (3.3) Use {@link #sendCommand(FTPCmd, String)} instead
      ***/
@@ -589,12 +589,12 @@ public class FTP extends SocketClient
      *                 to send.
      * @return The integer value of the FTP reply code returned by the server
      *         in response to the command.
-     * @exception FTPConnectionClosedException
+     * @throws FTPConnectionClosedException
      *      If the FTP server prematurely closes the connection as a result
      *      of the client being idle or some other reason causing the server
      *      to send FTP 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.
      * @since 3.3
      */
@@ -615,12 +615,12 @@ public class FTP extends SocketClient
      *             set to null, then the command is sent with no argument.
      * @return The integer value of the FTP reply code returned by the server
      *         in response to the command.
-     * @exception FTPConnectionClosedException
+     * @throws FTPConnectionClosedException
      *      If the FTP server prematurely closes the connection as a result
      *      of the client being idle or some other reason causing the server
      *      to send FTP 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.
      * @since 3.3
      */
@@ -638,12 +638,12 @@ public class FTP extends SocketClient
      * @param command  The text representation of the  FTP command to send.
      * @return The integer value of the FTP reply code returned by the server
      *         in response to the command.
-     * @exception FTPConnectionClosedException
+     * @throws FTPConnectionClosedException
      *      If the FTP server prematurely closes the connection as a result
      *      of the client being idle or some other reason causing the server
      *      to send FTP 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
@@ -663,12 +663,12 @@ public class FTP extends SocketClient
      *                 to send.
      * @return The integer value of the FTP reply code returned by the server
      *         in response to the command.
-     * @exception FTPConnectionClosedException
+     * @throws FTPConnectionClosedException
      *      If the FTP server prematurely closes the connection as a result
      *      of the client being idle or some other reason causing the server
      *      to send FTP 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
@@ -699,12 +699,12 @@ public class FTP extends SocketClient
      * fetch a secondary response from the FTP server.
      *
      * @return The integer value of the reply code of the fetched FTP reply.
-     * @exception FTPConnectionClosedException
+     * @throws FTPConnectionClosedException
      *      If the FTP server prematurely closes the connection as a result
      *      of the client being idle or some other reason causing the server
      *      to send FTP 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
@@ -760,12 +760,12 @@ public class FTP extends SocketClient
      *
      * @param username  The username to login under.
      * @return The reply code received from the server.
-     * @exception FTPConnectionClosedException
+     * @throws FTPConnectionClosedException
      *      If the FTP server prematurely closes the connection as a result
      *      of the client being idle or some other reason causing the server
      *      to send FTP 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 user(String username) throws IOException
@@ -778,12 +778,12 @@ public class FTP extends SocketClient
      * receive the reply, and return the reply code.
      * @param password The plain text password of the username being logged into.
      * @return The reply code received from the server.
-     * @exception FTPConnectionClosedException
+     * @throws FTPConnectionClosedException
      *      If the FTP server prematurely closes the connection as a result
      *      of the client being idle or some other reason causing the server
      *      to send FTP 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 pass(String password) throws IOException
@@ -797,12 +797,12 @@ public class FTP extends SocketClient
      *
      * @param account  The account name to access.
      * @return The reply code received from the server.
-     * @exception FTPConnectionClosedException
+     * @throws FTPConnectionClosedException
      *      If the FTP server prematurely closes the connection as a result
      *      of the client being idle or some other reason causing the server
      *      to send FTP 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 acct(String account) throws IOException
@@ -816,12 +816,12 @@ public class FTP extends SocketClient
      * receive the reply, and return the reply code.
      *
      * @return The reply code received from the server.
-     * @exception FTPConnectionClosedException
+     * @throws FTPConnectionClosedException
      *      If the FTP server prematurely closes the connection as a result
      *      of the client being idle or some other reason causing the server
      *      to send FTP 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 abor() throws IOException
@@ -835,12 +835,12 @@ public class FTP extends SocketClient
      *
      * @param directory The new working directory.
      * @return The reply code received from the server.
-     * @exception FTPConnectionClosedException
+     * @throws FTPConnectionClosedException
      *      If the FTP server prematurely closes the connection as a result
      *      of the client being idle or some other reason causing the server
      *      to send FTP 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 cwd(String directory) throws IOException
@@ -853,12 +853,12 @@ public class FTP extends SocketClient
      * receive the reply, and return the reply code.
      *
      * @return The reply code received from the server.
-     * @exception FTPConnectionClosedException
+     * @throws FTPConnectionClosedException
      *      If the FTP server prematurely closes the connection as a result
      *      of the client being idle or some other reason causing the server
      *      to send FTP 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 cdup() throws IOException
@@ -871,12 +871,12 @@ public class FTP extends SocketClient
      * receive the reply, and return the reply code.
      *
      * @return The reply code received from the server.
-     * @exception FTPConnectionClosedException
+     * @throws FTPConnectionClosedException
      *      If the FTP server prematurely closes the connection as a result
      *      of the client being idle or some other reason causing the server
      *      to send FTP 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
@@ -889,12 +889,12 @@ public class FTP extends SocketClient
      * receive the reply, and return the reply code.
      *
      * @return The reply code received from the server.
-     * @exception FTPConnectionClosedException
+     * @throws FTPConnectionClosedException
      *      If the FTP server prematurely closes the connection as a result
      *      of the client being idle or some other reason causing the server
      *      to send FTP 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 rein() throws IOException
@@ -908,12 +908,12 @@ public class FTP extends SocketClient
      *
      * @param dir  The directory name.
      * @return The reply code received from the server.
-     * @exception FTPConnectionClosedException
+     * @throws FTPConnectionClosedException
      *      If the FTP server prematurely closes the connection as a result
      *      of the client being idle or some other reason causing the server
      *      to send FTP 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 smnt(String dir) throws IOException
@@ -928,12 +928,12 @@ public class FTP extends SocketClient
      * @param host  The host owning the port.
      * @param port  The new port.
      * @return The reply code received from the server.
-     * @exception FTPConnectionClosedException
+     * @throws FTPConnectionClosedException
      *      If the FTP server prematurely closes the connection as a result
      *      of the client being idle or some other reason causing the server
      *      to send FTP 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 port(InetAddress host, int port) throws IOException
@@ -967,12 +967,12 @@ public class FTP extends SocketClient
      * @param host  The host owning the port.
      * @param port  The new port.
      * @return The reply code received from the server.
-     * @exception FTPConnectionClosedException
+     * @throws FTPConnectionClosedException
      *      If the FTP server prematurely closes the connection as a result
      *      of the client being idle or some other reason causing the server
      *      to send FTP 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.
      * @since 2.2
      ***/
@@ -1012,12 +1012,12 @@ public class FTP extends SocketClient
      * information.
      *
      * @return The reply code received from the server.
-     * @exception FTPConnectionClosedException
+     * @throws FTPConnectionClosedException
      *      If the FTP server prematurely closes the connection as a result
      *      of the client being idle or some other reason causing the server
      *      to send FTP 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 pasv() throws IOException
@@ -1032,12 +1032,12 @@ public class FTP extends SocketClient
      * information.
      *
      * @return The reply code received from the server.
-     * @exception FTPConnectionClosedException
+     * @throws FTPConnectionClosedException
      *      If the FTP server prematurely closes the connection as a result
      *      of the client being idle or some other reason causing the server
      *      to send FTP 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.
      * @since 2.2
      ***/
@@ -1055,12 +1055,12 @@ public class FTP extends SocketClient
      *              <code>_FORMAT</code> constants.  In the case of
      *              <code>LOCAL_FILE_TYPE</code>, the byte size.
      * @return The reply code received from the server.
-     * @exception FTPConnectionClosedException
+     * @throws FTPConnectionClosedException
      *      If the FTP server prematurely closes the connection as a result
      *      of the client being idle or some other reason causing the server
      *      to send FTP 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 type(int fileType, int formatOrByteSize) throws IOException
@@ -1086,12 +1086,12 @@ public class FTP extends SocketClient
      * @param fileType  The type of the file (one of the <code>FILE_TYPE</code>
      *              constants).
      * @return The reply code received from the server.
-     * @exception FTPConnectionClosedException
+     * @throws FTPConnectionClosedException
      *      If the FTP server prematurely closes the connection as a result
      *      of the client being idle or some other reason causing the server
      *      to send FTP 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 type(int fileType) throws IOException
@@ -1107,12 +1107,12 @@ public class FTP extends SocketClient
      * @param structure  The structure of the file (one of the
      *         <code>_STRUCTURE</code> constants).
      * @return The reply code received from the server.
-     * @exception FTPConnectionClosedException
+     * @throws FTPConnectionClosedException
      *      If the FTP server prematurely closes the connection as a result
      *      of the client being idle or some other reason causing the server
      *      to send FTP 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 stru(int structure) throws IOException
@@ -1128,12 +1128,12 @@ public class FTP extends SocketClient
      * @param mode  The transfer mode to use (one of the
      *         <code>TRANSFER_MODE</code> constants).
      * @return The reply code received from the server.
-     * @exception FTPConnectionClosedException
+     * @throws FTPConnectionClosedException
      *      If the FTP server prematurely closes the connection as a result
      *      of the client being idle or some other reason causing the server
      *      to send FTP 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 mode(int mode) throws IOException
@@ -1151,12 +1151,12 @@ public class FTP extends SocketClient
      *
      * @param pathname  The pathname of the file to retrieve.
      * @return The reply code received from the server.
-     * @exception FTPConnectionClosedException
+     * @throws FTPConnectionClosedException
      *      If the FTP server prematurely closes the connection as a result
      *      of the client being idle or some other reason causing the server
      *      to send FTP 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 retr(String pathname) throws IOException
@@ -1174,12 +1174,12 @@ public class FTP extends SocketClient
      * @param pathname  The pathname to use for the file when stored at
      *                  the remote end of the transfer.
      * @return The reply code received from the server.
-     * @exception FTPConnectionClosedException
+     * @throws FTPConnectionClosedException
      *      If the FTP server prematurely closes the connection as a result
      *      of the client being idle or some other reason causing the server
      *      to send FTP 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 stor(String pathname) throws IOException
@@ -1195,12 +1195,12 @@ public class FTP extends SocketClient
      * , which will handle all low level details for you.
      *
      * @return The reply code received from the server.
-     * @exception FTPConnectionClosedException
+     * @throws FTPConnectionClosedException
      *      If the FTP server prematurely closes the connection as a result
      *      of the client being idle or some other reason causing the server
      *      to send FTP 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 stou() throws IOException
@@ -1218,12 +1218,12 @@ public class FTP extends SocketClient
      *                  the remote end of the transfer.  Some FTP servers
      *                  require this.
      * @return The reply code received from the server.
-     * @exception FTPConnectionClosedException
+     * @throws FTPConnectionClosedException
      *      If the FTP server prematurely closes the connection as a result
      *      of the client being idle or some other reason causing the server
      *      to send FTP 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 stou(String pathname) throws IOException
@@ -1241,12 +1241,12 @@ public class FTP extends SocketClient
      * @param pathname  The pathname to use for the file when stored at
      *                  the remote end of the transfer.
      * @return The reply code received from the server.
-     * @exception FTPConnectionClosedException
+     * @throws FTPConnectionClosedException
      *      If the FTP server prematurely closes the connection as a result
      *      of the client being idle or some other reason causing the server
      *      to send FTP 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 appe(String pathname) throws IOException
@@ -1260,12 +1260,12 @@ public class FTP extends SocketClient
      *
      * @param bytes The number of bytes to allocate.
      * @return The reply code received from the server.
-     * @exception FTPConnectionClosedException
+     * @throws FTPConnectionClosedException
      *      If the FTP server prematurely closes the connection as a result
      *      of the client being idle or some other reason causing the server
      *      to send FTP 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 allo(int bytes) throws IOException
@@ -1293,12 +1293,12 @@ public class FTP extends SocketClient
      * @param bytes The number of bytes to allocate.
      * @param recordSize  The size of a record.
      * @return The reply code received from the server.
-     * @exception FTPConnectionClosedException
+     * @throws FTPConnectionClosedException
      *      If the FTP server prematurely closes the connection as a result
      *      of the client being idle or some other reason causing the server
      *      to send FTP 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 allo(int bytes, int recordSize) throws IOException
@@ -1313,12 +1313,12 @@ public class FTP extends SocketClient
      *
      * @param marker The marker at which to restart a transfer.
      * @return The reply code received from the server.
-     * @exception FTPConnectionClosedException
+     * @throws FTPConnectionClosedException
      *      If the FTP server prematurely closes the connection as a result
      *      of the client being idle or some other reason causing the server
      *      to send FTP 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 rest(String marker) throws IOException
@@ -1346,12 +1346,12 @@ public class FTP extends SocketClient
      * @param pathname The pathname for which mtime is to be changed
      * @param timeval Timestamp in <code>YYYYMMDDhhmmss</code> format
      * @return The reply code received from the server.
-     * @exception FTPConnectionClosedException
+     * @throws FTPConnectionClosedException
      *      If the FTP server prematurely closes the connection as a result
      *      of the client being idle or some other reason causing the server
      *      to send FTP 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.
      * @since 2.2
      * @see <a href="http://tools.ietf.org/html/draft-somers-ftp-mfxx-04">http://tools.ietf.org/html/draft-somers-ftp-mfxx-04</a>
@@ -1368,12 +1368,12 @@ public class FTP extends SocketClient
      *
      * @param pathname The pathname to rename from.
      * @return The reply code received from the server.
-     * @exception FTPConnectionClosedException
+     * @throws FTPConnectionClosedException
      *      If the FTP server prematurely closes the connection as a result
      *      of the client being idle or some other reason causing the server
      *      to send FTP 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 rnfr(String pathname) throws IOException
@@ -1387,12 +1387,12 @@ public class FTP extends SocketClient
      *
      * @param pathname The pathname to rename to
      * @return The reply code received from the server.
-     * @exception FTPConnectionClosedException
+     * @throws FTPConnectionClosedException
      *      If the FTP server prematurely closes the connection as a result
      *      of the client being idle or some other reason causing the server
      *      to send FTP 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 rnto(String pathname) throws IOException
@@ -1406,12 +1406,12 @@ public class FTP extends SocketClient
      *
      * @param pathname The pathname to delete.
      * @return The reply code received from the server.
-     * @exception FTPConnectionClosedException
+     * @throws FTPConnectionClosedException
      *      If the FTP server prematurely closes the connection as a result
      *      of the client being idle or some other reason causing the server
      *      to send FTP 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 dele(String pathname) throws IOException
@@ -1425,12 +1425,12 @@ public class FTP extends SocketClient
      *
      * @param pathname The pathname of the directory to remove.
      * @return The reply code received from the server.
-     * @exception FTPConnectionClosedException
+     * @throws FTPConnectionClosedException
      *      If the FTP server prematurely closes the connection as a result
      *      of the client being idle or some other reason causing the server
      *      to send FTP 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 rmd(String pathname) throws IOException
@@ -1444,12 +1444,12 @@ public class FTP extends SocketClient
      *
      * @param pathname The pathname of the new directory to create.
      * @return The reply code received from the server.
-     * @exception FTPConnectionClosedException
+     * @throws FTPConnectionClosedException
      *      If the FTP server prematurely closes the connection as a result
      *      of the client being idle or some other reason causing the server
      *      to send FTP 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 mkd(String pathname) throws IOException
@@ -1462,12 +1462,12 @@ public class FTP extends SocketClient
      * receive the reply, and return the reply code.
      *
      * @return The reply code received from the server.
-     * @exception FTPConnectionClosedException
+     * @throws FTPConnectionClosedException
      *      If the FTP server prematurely closes the connection as a result
      *      of the client being idle or some other reason causing the server
      *      to send FTP 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 pwd() throws IOException
@@ -1483,12 +1483,12 @@ public class FTP extends SocketClient
      * , which will handle all low level details for you.
      *
      * @return The reply code received from the server.
-     * @exception FTPConnectionClosedException
+     * @throws FTPConnectionClosedException
      *      If the FTP server prematurely closes the connection as a result
      *      of the client being idle or some other reason causing the server
      *      to send FTP 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 list() throws IOException
@@ -1506,12 +1506,12 @@ public class FTP extends SocketClient
      * @param pathname  The pathname to list,
      * may be {@code null} in which case the command is sent with no parameters
      * @return The reply code received from the server.
-     * @exception FTPConnectionClosedException
+     * @throws FTPConnectionClosedException
      *      If the FTP server prematurely closes the connection as a result
      *      of the client being idle or some other reason causing the server
      *      to send FTP 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 list(String pathname) throws IOException
@@ -1527,12 +1527,12 @@ public class FTP extends SocketClient
      * , which will handle all low level details for you.
      *
      * @return The reply code received from the server.
-     * @exception FTPConnectionClosedException
+     * @throws FTPConnectionClosedException
      *      If the FTP server prematurely closes the connection as a result
      *      of the client being idle or some other reason causing the server
      *      to send FTP 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.
      * @since 3.0
      */
@@ -1551,12 +1551,12 @@ public class FTP extends SocketClient
      * @param path the path to report on
      * @return The reply code received from the server,
      * may be {@code null} in which case the command is sent with no parameters
-     * @exception FTPConnectionClosedException
+     * @throws FTPConnectionClosedException
      *      If the FTP server prematurely closes the connection as a result
      *      of the client being idle or some other reason causing the server
      *      to send FTP 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.
      * @since 3.0
      */
@@ -1573,12 +1573,12 @@ public class FTP extends SocketClient
      * , which will handle all low level details for you.
      *
      * @return The reply code received from the server.
-     * @exception FTPConnectionClosedException
+     * @throws FTPConnectionClosedException
      *      If the FTP server prematurely closes the connection as a result
      *      of the client being idle or some other reason causing the server
      *      to send FTP 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.
      * @since 3.0
      */
@@ -1597,12 +1597,12 @@ public class FTP extends SocketClient
      * @param path the path to report on
      * @return The reply code received from the server,
      * may be {@code null} in which case the command is sent with no parameters
-     * @exception FTPConnectionClosedException
+     * @throws FTPConnectionClosedException
      *      If the FTP server prematurely closes the connection as a result
      *      of the client being idle or some other reason causing the server
      *      to send FTP 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.
      * @since 3.0
      */
@@ -1619,12 +1619,12 @@ public class FTP extends SocketClient
      * , which will handle all low level details for you.
      *
      * @return The reply code received from the server.
-     * @exception FTPConnectionClosedException
+     * @throws FTPConnectionClosedException
      *      If the FTP server prematurely closes the connection as a result
      *      of the client being idle or some other reason causing the server
      *      to send FTP 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 nlst() throws IOException
@@ -1642,12 +1642,12 @@ public class FTP extends SocketClient
      * @param pathname  The pathname to list,
      * may be {@code null} in which case the command is sent with no parameters
      * @return The reply code received from the server.
-     * @exception FTPConnectionClosedException
+     * @throws FTPConnectionClosedException
      *      If the FTP server prematurely closes the connection as a result
      *      of the client being idle or some other reason causing the server
      *      to send FTP 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 nlst(String pathname) throws IOException
@@ -1661,12 +1661,12 @@ public class FTP extends SocketClient
      *
      * @param parameters  The site parameters to send.
      * @return The reply code received from the server.
-     * @exception FTPConnectionClosedException
+     * @throws FTPConnectionClosedException
      *      If the FTP server prematurely closes the connection as a result
      *      of the client being idle or some other reason causing the server
      *      to send FTP 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 site(String parameters) throws IOException
@@ -1679,12 +1679,12 @@ public class FTP extends SocketClient
      * receive the reply, and return the reply code.
      *
      * @return The reply code received from the server.
-     * @exception FTPConnectionClosedException
+     * @throws FTPConnectionClosedException
      *      If the FTP server prematurely closes the connection as a result
      *      of the client being idle or some other reason causing the server
      *      to send FTP 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 syst() throws IOException
@@ -1697,12 +1697,12 @@ public class FTP extends SocketClient
      * receive the reply, and return the reply code.
      *
      * @return The reply code received from the server.
-     * @exception FTPConnectionClosedException
+     * @throws FTPConnectionClosedException
      *      If the FTP server prematurely closes the connection as a result
      *      of the client being idle or some other reason causing the server
      *      to send FTP 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 stat() throws IOException
@@ -1716,12 +1716,12 @@ public class FTP extends SocketClient
      *
      * @param pathname  A pathname to list.
      * @return The reply code received from the server.
-     * @exception FTPConnectionClosedException
+     * @throws FTPConnectionClosedException
      *      If the FTP server prematurely closes the connection as a result
      *      of the client being idle or some other reason causing the server
      *      to send FTP 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 stat(String pathname) throws IOException
@@ -1734,12 +1734,12 @@ public class FTP extends SocketClient
      * receive the reply, and return the reply code.
      *
      * @return The reply code received from the server.
-     * @exception FTPConnectionClosedException
+     * @throws FTPConnectionClosedException
      *      If the FTP server prematurely closes the connection as a result
      *      of the client being idle or some other reason causing the server
      *      to send FTP 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
@@ -1753,12 +1753,12 @@ public class FTP extends SocketClient
      *
      * @param command  The command name on which to request help.
      * @return The reply code received from the server.
-     * @exception FTPConnectionClosedException
+     * @throws FTPConnectionClosedException
      *      If the FTP server prematurely closes the connection as a result
      *      of the client being idle or some other reason causing the server
      *      to send FTP 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
@@ -1771,12 +1771,12 @@ public class FTP extends SocketClient
      * receive the reply, and return the reply code.
      *
      * @return The reply code received from the server.
-     * @exception FTPConnectionClosedException
+     * @throws FTPConnectionClosedException
      *      If the FTP server prematurely closes the connection as a result
      *      of the client being idle or some other reason causing the server
      *      to send FTP 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




Mime
View raw message