membrane / soa-model

Toolkit and Java API for WSDL, WADL and XML Schema.
http://www.membrane-soa.org/soa-model/
Apache License 2.0
93 stars 73 forks source link

Better Exception by Creating RT #153

Closed keshavarzi closed 10 years ago

keshavarzi commented 11 years ago

Creating RT for an operation input/output where the element/type is missing should throw a better qualified exception.

keshavarzi commented 11 years ago

e.g. in:

AbstractSchemaCreator.groovy:39 (java.lang.NullPointerException: Cannot invoke method create() on null object)

keshavarzi commented 10 years ago

ElementRefAccessException or TypeRefAccessException would be thrown.