Author: chris.laprun(a)jboss.com
Date: 2010-02-12 04:44:54 -0500 (Fri, 12 Feb 2010)
New Revision: 1659
Modified:
components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/services/SOAPServiceFactory.java
Log:
- A little bit more helpful than throwing an NPE?\226?\128?\166
Modified:
components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/services/SOAPServiceFactory.java
===================================================================
---
components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/services/SOAPServiceFactory.java 2010-02-12
09:03:11 UTC (rev 1658)
+++
components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/services/SOAPServiceFactory.java 2010-02-12
09:44:54 UTC (rev 1659)
@@ -250,6 +250,7 @@
{
try
{
+ ParameterValidation.throwIllegalArgExceptionIfNullOrEmpty(wsdlDefinitionURL,
"WSDL URL", "SOAPServiceFactory");
URI wsdlURL = new URI(wsdlDefinitionURL);
Service service = Service.create(wsdlURL.toURL(), SERVICE);
Show replies by date