geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jlaskow...@apache.org
Subject svn commit: r390524 [5/7] - in /geronimo/trunk/modules/javamail-transport/src/java/org/apache/geronimo/javamail: authentication/ store/nntp/ store/nntp/newsrc/ store/pop3/ store/pop3/message/ store/pop3/response/ transport/nntp/ transport/smtp/ util/
Date Fri, 31 Mar 2006 22:24:56 GMT
Modified: geronimo/trunk/modules/javamail-transport/src/java/org/apache/geronimo/javamail/transport/smtp/SMTPSTransport.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/modules/javamail-transport/src/java/org/apache/geronimo/javamail/transport/smtp/SMTPSTransport.java?rev=390524&r1=390523&r2=390524&view=diff
==============================================================================
--- geronimo/trunk/modules/javamail-transport/src/java/org/apache/geronimo/javamail/transport/smtp/SMTPSTransport.java
(original)
+++ geronimo/trunk/modules/javamail-transport/src/java/org/apache/geronimo/javamail/transport/smtp/SMTPSTransport.java
Fri Mar 31 14:24:52 2006
@@ -17,11 +17,8 @@
 
 package org.apache.geronimo.javamail.transport.smtp;
 
-import javax.mail.MessagingException;
 import javax.mail.Session;
-import javax.mail.Transport;
 import javax.mail.URLName;
-
 
 public class SMTPSTransport extends SMTPTransport {
     /**

Modified: geronimo/trunk/modules/javamail-transport/src/java/org/apache/geronimo/javamail/transport/smtp/SMTPSendFailedException.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/modules/javamail-transport/src/java/org/apache/geronimo/javamail/transport/smtp/SMTPSendFailedException.java?rev=390524&r1=390523&r2=390524&view=diff
==============================================================================
--- geronimo/trunk/modules/javamail-transport/src/java/org/apache/geronimo/javamail/transport/smtp/SMTPSendFailedException.java
(original)
+++ geronimo/trunk/modules/javamail-transport/src/java/org/apache/geronimo/javamail/transport/smtp/SMTPSendFailedException.java
Fri Mar 31 14:24:52 2006
@@ -17,28 +17,36 @@
 
 package org.apache.geronimo.javamail.transport.smtp;
 
-import javax.mail.SendFailedException;
 import javax.mail.Address;
-
+import javax.mail.SendFailedException;
 
 public class SMTPSendFailedException extends SendFailedException {
     // the failing command
     protected String cmd;
+
     // the error code for the failure
     protected int rc;
 
     /**
      * Constructor for an SMTPSendFaileException.
-     *
-     * @param cmd    The failing command string.
-     * @param rc     The error code for the failing command.
-     * @param err    An error message for the exception.
-     * @param ex     Any associated nested exception.
-     * @param vs     An array of valid, sent addresses.
-     * @param vus    An array of addresses that were valid, but were unsent.
-     * @param inv    An array of addresses deemed invalid.
+     * 
+     * @param cmd
+     *            The failing command string.
+     * @param rc
+     *            The error code for the failing command.
+     * @param err
+     *            An error message for the exception.
+     * @param ex
+     *            Any associated nested exception.
+     * @param vs
+     *            An array of valid, sent addresses.
+     * @param vus
+     *            An array of addresses that were valid, but were unsent.
+     * @param inv
+     *            An array of addresses deemed invalid.
      */
-    SMTPSendFailedException(java.lang.String cmd, int rc, java.lang.String err, java.lang.Exception
ex, Address[] vs, Address[] vus, Address[] inv) {
+    SMTPSendFailedException(java.lang.String cmd, int rc, java.lang.String err, java.lang.Exception
ex, Address[] vs,
+            Address[] vus, Address[] inv) {
         super(err, ex, vs, vus, inv);
         this.cmd = cmd;
         this.rc = rc;
@@ -46,7 +54,7 @@
 
     /**
      * Get the failing command string for the exception.
-     *
+     * 
      * @return The string value of the failing command.
      */
     public String getCommand() {
@@ -55,11 +63,10 @@
 
     /**
      * The failing command return code.
-     *
+     * 
      * @return The failure return code.
      */
     public int getReturnCode() {
         return rc;
     }
 }
-



Mime
View raw message