You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by no...@apache.org on 2011/10/01 20:22:50 UTC

svn commit: r1178064 - /james/protocols/trunk/smtp/src/main/java/org/apache/james/protocols/smtp/MailEnvelope.java

Author: norman
Date: Sat Oct  1 18:22:50 2011
New Revision: 1178064

URL: http://svn.apache.org/viewvc?rev=1178064&view=rev
Log:
MailEnvelope.getOutputStream() and MailEnvelope.getInputStream() should throw IOException. See PROTOCOLS-39

Modified:
    james/protocols/trunk/smtp/src/main/java/org/apache/james/protocols/smtp/MailEnvelope.java

Modified: james/protocols/trunk/smtp/src/main/java/org/apache/james/protocols/smtp/MailEnvelope.java
URL: http://svn.apache.org/viewvc/james/protocols/trunk/smtp/src/main/java/org/apache/james/protocols/smtp/MailEnvelope.java?rev=1178064&r1=1178063&r2=1178064&view=diff
==============================================================================
--- james/protocols/trunk/smtp/src/main/java/org/apache/james/protocols/smtp/MailEnvelope.java (original)
+++ james/protocols/trunk/smtp/src/main/java/org/apache/james/protocols/smtp/MailEnvelope.java Sat Oct  1 18:22:50 2011
@@ -20,6 +20,7 @@
 
 package org.apache.james.protocols.smtp;
 
+import java.io.IOException;
 import java.io.InputStream;
 import java.io.OutputStream;
 import java.util.List;
@@ -60,15 +61,15 @@ public interface MailEnvelope {
 	 * Return the OutputStream of the message
 	 * 
 	 * @return out
-	 * @throws Exception
+	 * @throws IOException
 	 */
-	OutputStream getMessageOutputStream() throws Exception;
+	OutputStream getMessageOutputStream() throws IOException;
 
 	/**
 	 * Return the InputStream of the message
 	 * 
 	 * @return in
-	 * @throws Exception
+	 * @throws IOException
 	 */
-	InputStream getMessageInputStream() throws Exception;
+	InputStream getMessageInputStream() throws IOException;
 }



---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org