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 da...@apache.org on 2003/07/15 08:49:41 UTC

cvs commit: xml-axis/c/src/common Param.cpp

damitha     2003/07/14 23:49:41

  Modified:    c/src/common Param.cpp
  Log:
  
  
  Revision  Changes    Path
  1.5       +7 -5      xml-axis/c/src/common/Param.cpp
  
  Index: Param.cpp
  ===================================================================
  RCS file: /home/cvs/xml-axis/c/src/common/Param.cpp,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- Param.cpp	11 Jul 2003 07:25:18 -0000	1.4
  +++ Param.cpp	15 Jul 2003 06:49:41 -0000	1.5
  @@ -67,6 +67,7 @@
   
   #include "Param.h"
   #include "AccessBean.h"
  +#include "../common/AxisException.h"
   #include "BasicTypeSerializer.h"
   #include <stdlib.h>
   
  @@ -160,7 +161,7 @@
   	}
   	else 
   	{
  -		//exception
  +		throw new AxisException(SF_PARATYPEMISMATCH); 
   	}
   	return m_sValue;
   }
  @@ -174,7 +175,7 @@
   	}
   	else 
   	{
  -		//exception
  +		throw new AxisException(SF_PARATYPEMISMATCH); 
   	}
   	return m_sValue;
   }
  @@ -188,7 +189,7 @@
   	}
   	else 
   	{
  -		//exception
  +		throw new AxisException(SF_PARATYPEMISMATCH); 
   	}
   	return m_sValue;
   }
  @@ -207,7 +208,7 @@
   	}
   	else 
   	{
  -		//exception
  +    throw new AxisException(SF_PARATYPEMISMATCH); 
   	}
   	return m_Value.n;
   }
  @@ -222,7 +223,7 @@
   	}
   	else
   	{
  -		//exception
  +		throw new AxisException(SF_PARATYPEMISMATCH); 
   	}
   	return m_Value.f;
   }
  @@ -334,6 +335,7 @@
   	//Continue this for all basic types
   	case XSD_ARRAY:
   	case USER_TYPE:
  +    throw new AxisException(SF_PARATYPEMISMATCH);
   		//this is an error situation - probably something wrong with the soap
   		break;
   	default: