Jim Marino wrote:
> Hi,
> 
> I had a quick question about this class: why does it throw 
> IllegalArgumentException on lines 49 and 52 as opposed to another  type
> of exception?
> 

There are several classes that throw IllegalArgument as part of model
initialization. I have refactored a few of these recently to move things
like loading into the loaders where we can throw a ConfigurationLoadEx
including context such as the resource that is being loaded and the
position in the XML document. I think this one falls in the same category.

I actually looked at this specific one (strictly at the usage of
AssemblyModelLoader itself) and it led to a few of the questions I had
about using <import.wsdl> and its location. It's been a couple of days
so I'll kick those discussions back to life.

--
Jeremy

Reply via email to