tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lrese...@apache.org
Subject svn commit: r662635 - /incubator/tuscany/java/sca/modules/implementation-resource/src/main/java/org/apache/tuscany/sca/implementation/resource/impl/ResourceImplementationProcessor.java
Date Tue, 03 Jun 2008 04:19:35 GMT
Author: lresende
Date: Mon Jun  2 21:19:35 2008
New Revision: 662635

URL: http://svn.apache.org/viewvc?rev=662635&view=rev
Log:
TUSCANY-2362 - Applying patch from Ram

Modified:
    incubator/tuscany/java/sca/modules/implementation-resource/src/main/java/org/apache/tuscany/sca/implementation/resource/impl/ResourceImplementationProcessor.java

Modified: incubator/tuscany/java/sca/modules/implementation-resource/src/main/java/org/apache/tuscany/sca/implementation/resource/impl/ResourceImplementationProcessor.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/implementation-resource/src/main/java/org/apache/tuscany/sca/implementation/resource/impl/ResourceImplementationProcessor.java?rev=662635&r1=662634&r2=662635&view=diff
==============================================================================
--- incubator/tuscany/java/sca/modules/implementation-resource/src/main/java/org/apache/tuscany/sca/implementation/resource/impl/ResourceImplementationProcessor.java
(original)
+++ incubator/tuscany/java/sca/modules/implementation-resource/src/main/java/org/apache/tuscany/sca/implementation/resource/impl/ResourceImplementationProcessor.java
Mon Jun  2 21:19:35 2008
@@ -52,7 +52,7 @@
  */
 public class ResourceImplementationProcessor implements StAXArtifactProcessor<ResourceImplementation>
{
     private static final QName IMPLEMENTATION_RESOURCE = new QName(Constants.SCA10_TUSCANY_NS,
"implementation.resource");
-    //private static final String MSG_LOCATION_MISSING = "Reading implementation.resource
- location attribute missing";
+    private static final String MSG_LOCATION_MISSING = "Reading implementation.resource -
location attribute missing";
     
     private ContributionFactory contributionFactory;
     private ResourceImplementationFactory implementationFactory;
@@ -118,7 +118,7 @@
             implementation.setUnresolved(true);
         } else {
             error("LocationAttributeMissing", reader);
-            //throw new ContributionReadException(MSG_LOCATION_MISSING);
+            throw new ContributionReadException(MSG_LOCATION_MISSING);
         }
 
         // Skip to end element
@@ -144,7 +144,7 @@
             } catch (IOException e) {
             	ContributionResolveException ce = new ContributionResolveException(e);
             	error("ContributionResolveException", resolver, ce);
-                //throw ce;
+                throw ce;
             }
         }
     }



Mime
View raw message