axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject cvs commit: xml-axis/java/src/org/apache/axis/message RPCHandler.java
Date Tue, 27 Aug 2002 13:11:21 GMT
dims        2002/08/27 06:11:21

  Modified:    java/src/org/apache/axis/message RPCHandler.java
  Log:
  Move code around a bit to find reason for gump failure.
  
  Revision  Changes    Path
  1.60      +8 -5      xml-axis/java/src/org/apache/axis/message/RPCHandler.java
  
  Index: RPCHandler.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/message/RPCHandler.java,v
  retrieving revision 1.59
  retrieving revision 1.60
  diff -u -r1.59 -r1.60
  --- RPCHandler.java	23 Aug 2002 23:50:31 -0000	1.59
  +++ RPCHandler.java	27 Aug 2002 13:11:21 -0000	1.60
  @@ -260,6 +260,10 @@
           if (dser == null) {
             if (type != null) {
                 dser = context.getDeserializerForType(type);
  +              if (dser == null) {
  +                  throw new SAXException(JavaUtils.getMessage(
  +                          "noDeser01", localName,"" + type));
  +              }
                 if (paramDesc != null && paramDesc.getJavaType() != null) {
                     // If we have an xsi:type, make sure it makes sense
                     // with the current paramDesc type
  @@ -272,12 +276,11 @@
                 }
             } else {
                 dser = new DeserializerImpl();
  +              if (dser == null) {
  +                  throw new SAXException(JavaUtils.getMessage(
  +                          "noDeser01", localName,"" + type));
  +              }
             }
  -        }
  -
  -        if (dser == null) {
  -            throw new SAXException(JavaUtils.getMessage(
  -                    "noDeser01", localName,"" + type));
           }
   
           dser.setDefaultType(type);
  
  
  

Mime
View raw message