You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by di...@apache.org on 2002/10/24 15:32:05 UTC

cvs commit: xml-axis/java/src/org/apache/axis Message.java

dims        2002/10/24 06:32:05

  Modified:    java/src/org/apache/axis Message.java
  Log:
  Fix for Bug 13725 - Deserializing MIME attachments fails
  
  Revision  Changes    Path
  1.92      +2 -0      xml-axis/java/src/org/apache/axis/Message.java
  
  Index: Message.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/Message.java,v
  retrieving revision 1.91
  retrieving revision 1.92
  diff -u -r1.91 -r1.92
  --- Message.java	18 Sep 2002 16:10:31 -0000	1.91
  +++ Message.java	24 Oct 2002 13:32:05 -0000	1.92
  @@ -335,6 +335,8 @@
                             ex);
                   throw new RuntimeException(ex.getMessage());
               }
  +        } else if (contentType != null && contentType.startsWith("multipart")){
  +            throw new RuntimeException(Messages.getMessage("noAttachments"));
           }
   
           // text/xml