}
// FIXME need to find out how to get wsdl and what
context to use --- terrible hack attack!
// URL wsdlurl = Thread.currentThread
().getContextClassLoader().getResource(wsdlLocation);
+ if(null == wsdlLocation) throw new RuntimeException
("Failed to determin wsdl location on binding. Try specifying
'location' attribute on binding.");
Hi Rick,
One more thing, we are always trying to extend exceptions from
TuscanyRuntimeException or TuscanyException except when user code is
involved. I think we should have a subtype of TuscanyRuntimeException
in the binding extension that is more meaningful such as
"LocationNotFoundException". Generally, the pattern we've been
following in core is to have an abstract base exception per package
which is part of the Tuscany(Runtime)Exception hierarchy (where it
makes sense) that more specific exceptions subclass.
Jim
URL wsdlurl = deploymentContext.getClassLoader
().getResource(wsdlLocation);
if(wsdlurl == null) throw new RuntimeException("Failed
to load wsdl from '" + wsdlLocation +"'" );
---------------------------------------------------------------------
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]