axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject svn commit: r387644 - /webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/deployment/ServiceBuilder.java
Date Tue, 21 Mar 2006 22:13:53 GMT
Author: stevel
Date: Tue Mar 21 14:13:51 2006
New Revision: 387644

URL: http://svn.apache.org/viewcvs?rev=387644&view=rev
Log:
there is no point swallowing an exception if it leaves your class in an unstable state. Exceptions
are there for a reason, and it is to eliminate this kind of behaviour.

Modified:
    webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/deployment/ServiceBuilder.java

Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/deployment/ServiceBuilder.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/deployment/ServiceBuilder.java?rev=387644&r1=387643&r2=387644&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/deployment/ServiceBuilder.java
(original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/deployment/ServiceBuilder.java
Tue Mar 21 14:13:51 2006
@@ -70,7 +70,10 @@
                 try {
                     Utils.fillAxisService(service, axisConfig);
                 } catch (Exception e) {
-                    log.info(Messages.getMessage("errorinscheamgen", e.getMessage()));
+                    //log.error(Messages.getMessage("errorinscheamgen", e.getMessage()),e);
+                    throw new DeploymentException(Messages.getMessage(
+                            "errorinscheamgen",
+                            e.getMessage()), e);
                 }
             }
 



Mime
View raw message