On Aug 22, 2006, at 4:01 AM, [EMAIL PROTECTED] wrote:

====================================================================== ======== --- incubator/tuscany/java/sca/databinding/databinding-sdo/src/main/ java/org/apache/tuscany/databinding/sdo/ImportSDOLoader.java (original) +++ incubator/tuscany/java/sca/databinding/databinding-sdo/src/main/ java/org/apache/tuscany/databinding/sdo/ImportSDOLoader.java Tue Aug 22 04:01:36 2006
@@ -109,6 +109,9 @@
                     wsdlURL = uri.toURL();
                 }
wsdlURL = deploymentContext.getClassLoader ().getResource(location);
+                if(null == wsdlURL){
+ throw new LoaderException("WSDL location error '" +location+"'");
+                }

Hi Rick,

Just noticed a quick thing here: location should probably be set with LoaderException.setResourceURI() rather than concatenated on the message so the error can be internationalized easily.

Jim


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to