You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2014/04/13 20:37:19 UTC

svn commit: r1587071 - /commons/proper/net/trunk/src/main/java/org/apache/commons/net/smtp/AuthenticatingSMTPClient.java

Author: sebb
Date: Sun Apr 13 18:37:19 2014
New Revision: 1587071

URL: http://svn.apache.org/r1587071
Log:
Remove unthrown exceptions. These are not part of the method signature so don't affect binary compatibility

Modified:
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/smtp/AuthenticatingSMTPClient.java

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=1587071&r1=1587070&r2=1587071&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 Sun Apr 13 18:37:19 2014
@@ -40,9 +40,8 @@ public class AuthenticatingSMTPClient ex
     /**
      * The default AuthenticatingSMTPClient constructor.
      * Creates a new Authenticating SMTP Client.
-     * @throws NoSuchAlgorithmException
      */
-    public AuthenticatingSMTPClient() throws NoSuchAlgorithmException
+    public AuthenticatingSMTPClient()
     {
         super();
     }
@@ -50,9 +49,8 @@ public class AuthenticatingSMTPClient ex
     /**
      * Overloaded constructor that takes a protocol specification
      * @param protocol The protocol to use
-     * @throws NoSuchAlgorithmException
      */
-    public AuthenticatingSMTPClient(String protocol) throws NoSuchAlgorithmException {
+    public AuthenticatingSMTPClient(String protocol) {
         super(protocol);
     }
 
@@ -94,10 +92,9 @@ public class AuthenticatingSMTPClient ex
      * Overloaded constructor that takes a protocol specification and encoding
      * @param protocol The protocol to use
      * @param encoding The encoding to use
-     * @throws NoSuchAlgorithmException
      * @since 3.3
      */
-    public AuthenticatingSMTPClient(String protocol, String encoding) throws NoSuchAlgorithmException {
+    public AuthenticatingSMTPClient(String protocol, String encoding) {
         super(protocol, false, encoding);
     }