airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chath...@apache.org
Subject git commit: update the log messages
Date Thu, 10 Jul 2014 15:50:35 GMT
Repository: airavata
Updated Branches:
  refs/heads/master 78cd7b324 -> 7d72e22fe


update the log messages


Project: http://git-wip-us.apache.org/repos/asf/airavata/repo
Commit: http://git-wip-us.apache.org/repos/asf/airavata/commit/7d72e22f
Tree: http://git-wip-us.apache.org/repos/asf/airavata/tree/7d72e22f
Diff: http://git-wip-us.apache.org/repos/asf/airavata/diff/7d72e22f

Branch: refs/heads/master
Commit: 7d72e22fec64ccd83099e6a7e903c73ecb17d1bb
Parents: 78cd7b3
Author: Chathuri Wimalasena <kamalasini@gmail.com>
Authored: Thu Jul 10 11:50:23 2014 -0400
Committer: Chathuri Wimalasena <kamalasini@gmail.com>
Committed: Thu Jul 10 11:50:23 2014 -0400

----------------------------------------------------------------------
 .../registry/jpa/impl/RegistryImpl.java         | 44 ++++++++++----------
 1 file changed, 22 insertions(+), 22 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata/blob/7d72e22f/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/impl/RegistryImpl.java
----------------------------------------------------------------------
diff --git a/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/impl/RegistryImpl.java
b/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/impl/RegistryImpl.java
index d1eba22..0a8395b 100644
--- a/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/impl/RegistryImpl.java
+++ b/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/impl/RegistryImpl.java
@@ -106,8 +106,8 @@ public class RegistryImpl implements Registry {
                     throw new UnsupportedOperationException();
             }
         } catch (Exception e) {
-            logger.error("Error while adding the resource..", new RegistryException(e));
-            throw new RegistryException("Error while adding the resource..", e);
+            logger.error("Error while adding the resource " + dataType.toString(), new RegistryException(e));
+            throw new RegistryException("Error while adding the resource " + dataType.toString(),
e);
         }
     }
 
@@ -170,8 +170,8 @@ public class RegistryImpl implements Registry {
                     throw new UnsupportedOperationException();
             }
         } catch (Exception e) {
-            logger.error("Error while adding the resource..", new RegistryException(e));
-            throw new RegistryException("Error while adding the resource..", e);
+            logger.error("Error while adding " + dataType.toString() , new RegistryException(e));
+            throw new RegistryException("Error while adding " + dataType.toString(), e);
         }
 
     }
@@ -256,8 +256,8 @@ public class RegistryImpl implements Registry {
                     throw new UnsupportedOperationException();
             }
         } catch (Exception e) {
-            logger.error("Error while updating the resource..", new RegistryException(e));
-            throw new RegistryException("Error while updating the resource..", e);
+            logger.error("Error while updating the resource " + dataType.toString(), new
RegistryException(e));
+            throw new RegistryException("Error while updating the resource.." + dataType.toString(),
e);
         }
 
     }
@@ -290,8 +290,8 @@ public class RegistryImpl implements Registry {
                     throw new UnsupportedOperationException();
             }
         } catch (Exception e) {
-            logger.error("Error while updating the resource..", new RegistryException(e));
-            throw new RegistryException("Error while updating the resource..", e);
+            logger.error("Error while updating the resource " + dataType.toString(), new
RegistryException(e));
+            throw new RegistryException("Error while updating the resource " + dataType.toString(),
e);
         }
 
     }
@@ -355,8 +355,8 @@ public class RegistryImpl implements Registry {
                     throw new UnsupportedOperationException();
             }
         } catch (Exception e) {
-            logger.error("Error while retrieving the resource..", new RegistryException(e));
-            throw new RegistryException("Error while retrieving the resource..", e);
+            logger.error("Error while retrieving the resource " + dataType.toString(), new
RegistryException(e));
+            throw new RegistryException("Error while retrieving the resource " + dataType.toString()
, e);
         }
     }
 
@@ -428,8 +428,8 @@ public class RegistryImpl implements Registry {
                     throw new UnsupportedOperationException();
             }
         } catch (Exception e) {
-            logger.error("Error while retrieving the resource..", new RegistryException(e));
-            throw new RegistryException("Error while retrieving the resource..", e);
+            logger.error("Error while retrieving the resource " + dataType.toString(), new
RegistryException(e));
+            throw new RegistryException("Error while retrieving the resource " + dataType.toString(),
e);
         }
 
     }
@@ -455,8 +455,8 @@ public class RegistryImpl implements Registry {
                     throw new UnsupportedOperationException();
             }
         } catch (Exception e) {
-            logger.error("Error while retrieving the resource..", new RegistryException(e));
-            throw new RegistryException("Error while retrieving the resource..", e);
+            logger.error("Error while retrieving the resource " + dataType.toString(), new
RegistryException(e));
+            throw new RegistryException("Error while retrieving the resource " + dataType.toString(),
e);
         }
     }
 
@@ -485,8 +485,8 @@ public class RegistryImpl implements Registry {
                     throw new UnsupportedOperationException();
             }
         } catch (Exception e) {
-            logger.error("Error while retrieving the resource..", new RegistryException(e));
-            throw new RegistryException("Error while retrieving the resource..", e);
+            logger.error("Error while retrieving the resource " + dataType.toString(), new
RegistryException(e));
+            throw new RegistryException("Error while retrieving the resource " + dataType.toString(),
e);
         }
 
     }
@@ -526,8 +526,8 @@ public class RegistryImpl implements Registry {
                     throw new UnsupportedOperationException();
             }
         } catch (Exception e) {
-            logger.error("Error while retrieving the ids..", new RegistryException(e));
-            throw new RegistryException("Error while retrieving the ids..", e);
+            logger.error("Error while retrieving the ids for" + dataType.toString(), new
RegistryException(e));
+            throw new RegistryException("Error while retrieving the ids for " + dataType.toString(),
e);
         }
 
     }
@@ -582,8 +582,8 @@ public class RegistryImpl implements Registry {
                     throw new UnsupportedOperationException();
             }
         } catch (Exception e) {
-            logger.error("Error while removing the resource..", new RegistryException(e));
-            throw new RegistryException("Error while removing the resource..", e);
+            logger.error("Error while removing the resource " + dataType.toString(), new
RegistryException(e));
+            throw new RegistryException("Error while removing the resource " + dataType.toString(),
e);
         }
 
     }
@@ -628,8 +628,8 @@ public class RegistryImpl implements Registry {
                     throw new UnsupportedOperationException();
             }
         } catch (Exception e) {
-            logger.error("Error while checking existence of the resource..", new RegistryException(e));
-            throw new RegistryException("Error while checking existence of the resource..",
e);
+            logger.error("Error while checking existence of the resource " + dataType.toString(),
new RegistryException(e));
+            throw new RegistryException("Error while checking existence of the resource "
+ dataType.toString(), e);
         }
     }
 


Mime
View raw message