Author: mriou
Date: Wed Jun 11 12:13:30 2008
New Revision: 666792

URL: http://svn.apache.org/viewvc?rev=666792&view=rev
Log:
Cleaning up some error messages.

Modified:
    
ode/branches/APACHE_ODE_1.1/axis2/src/main/java/org/apache/ode/axis2/util/SoapMessageConverter.java

Modified: 
ode/branches/APACHE_ODE_1.1/axis2/src/main/java/org/apache/ode/axis2/util/SoapMessageConverter.java
URL: 
http://svn.apache.org/viewvc/ode/branches/APACHE_ODE_1.1/axis2/src/main/java/org/apache/ode/axis2/util/SoapMessageConverter.java?rev=666792&r1=666791&r2=666792&view=diff
==============================================================================
--- 
ode/branches/APACHE_ODE_1.1/axis2/src/main/java/org/apache/ode/axis2/util/SoapMessageConverter.java
 (original)
+++ 
ode/branches/APACHE_ODE_1.1/axis2/src/main/java/org/apache/ode/axis2/util/SoapMessageConverter.java
 Wed Jun 11 12:13:30 2008
@@ -99,11 +99,8 @@
 
     public SoapMessageConverter(Definition def, QName serviceName, String 
portName) throws AxisFault {
         if (def == null)
-            throw new NullPointerException("Null wsdl def.");
-        if (serviceName == null)
-            throw new NullPointerException("Null serviceName");
-        if (portName == null)
-            throw new NullPointerException("Null portName");
+            throw new NullPointerException("No WSDL definition was found for 
service "
+                    + serviceName + " and port " + portName);
 
         _def = def;
         _serviceName = serviceName;


Reply via email to