airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lah...@apache.org
Subject svn commit: r1179863 - /incubator/airavata/trunk/modules/commons/registry-api/src/main/java/org/apache/airavata/registry/api/impl/JCRRegistry.java
Date Thu, 06 Oct 2011 21:31:08 GMT
Author: lahiru
Date: Thu Oct  6 21:31:07 2011
New Revision: 1179863

URL: http://svn.apache.org/viewvc?rev=1179863&view=rev
Log:
fixing https://issues.apache.org/jira/browse/AIRAVATA-130.

Modified:
    incubator/airavata/trunk/modules/commons/registry-api/src/main/java/org/apache/airavata/registry/api/impl/JCRRegistry.java

Modified: incubator/airavata/trunk/modules/commons/registry-api/src/main/java/org/apache/airavata/registry/api/impl/JCRRegistry.java
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/commons/registry-api/src/main/java/org/apache/airavata/registry/api/impl/JCRRegistry.java?rev=1179863&r1=1179862&r2=1179863&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/commons/registry-api/src/main/java/org/apache/airavata/registry/api/impl/JCRRegistry.java
(original)
+++ incubator/airavata/trunk/modules/commons/registry-api/src/main/java/org/apache/airavata/registry/api/impl/JCRRegistry.java
Thu Oct  6 21:31:07 2011
@@ -72,7 +72,7 @@ public class JCRRegistry implements Axis
 	private static Logger log = LoggerFactory.getLogger(JCRRegistry.class);
 
 	public JCRRegistry(String className, String user, String pass,
-			Map<String, String> map) {
+                       Map<String, String> map) throws RepositoryException {
 		try {
 			/*
 			 * Load the configuration from properties file at this level and
@@ -94,12 +94,13 @@ public class JCRRegistry implements Axis
 			log.error("Error class path settting", e);
 		} catch (RepositoryException e) {
 			log.error("Error connecting Remote Registry instance", e);
+            throw e;
 		} catch (Exception e) {
 			log.error("Error init", e);
 		}
 	}
 
-    public JCRRegistry(Repository repo,Credentials credentials){
+    public JCRRegistry(Repository repo, Credentials credentials){
         this.repository = repo;
         this.credentials = credentials;
     }



Mime
View raw message