You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ws.apache.org by ve...@apache.org on 2011/12/03 00:07:18 UTC

svn commit: r1209772 - /webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/attachments/Part.java

Author: veithen
Date: Fri Dec  2 23:07:18 2011
New Revision: 1209772

URL: http://svn.apache.org/viewvc?rev=1209772&view=rev
Log:
AXIOM-350: Avoid usage of JavaMail exceptions.

Modified:
    webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/attachments/Part.java

Modified: webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/attachments/Part.java
URL: http://svn.apache.org/viewvc/webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/attachments/Part.java?rev=1209772&r1=1209771&r2=1209772&view=diff
==============================================================================
--- webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/attachments/Part.java (original)
+++ webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/attachments/Part.java Fri Dec  2 23:07:18 2011
@@ -19,7 +19,6 @@
 package org.apache.axiom.attachments;
 
 import javax.activation.DataHandler;
-import javax.mail.MessagingException;
 
 /**
  * Interface representing a MIME part. A part can be the SOAP part (or more generally the root part
@@ -50,7 +49,6 @@ public interface Part {
      * Get the value of a specific header
      * @param name
      * @return value or null
-     * @throws MessagingException
      */
-    public String getHeader(String name) throws MessagingException;
+    public String getHeader(String name);
 }