Return-Path: X-Original-To: apmail-airavata-commits-archive@www.apache.org Delivered-To: apmail-airavata-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 483CB118CD for ; Thu, 10 Jul 2014 15:50:36 +0000 (UTC) Received: (qmail 33891 invoked by uid 500); 10 Jul 2014 15:50:36 -0000 Delivered-To: apmail-airavata-commits-archive@airavata.apache.org Received: (qmail 33850 invoked by uid 500); 10 Jul 2014 15:50:36 -0000 Mailing-List: contact commits-help@airavata.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@airavata.apache.org Delivered-To: mailing list commits@airavata.apache.org Received: (qmail 33841 invoked by uid 99); 10 Jul 2014 15:50:36 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Jul 2014 15:50:36 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id EC2C59AB442; Thu, 10 Jul 2014 15:50:35 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: chathuri@apache.org To: commits@airavata.apache.org Message-Id: <7b4d79330a1646fd9281842f710d0345@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: git commit: update the log messages Date: Thu, 10 Jul 2014 15:50:35 +0000 (UTC) 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 Authored: Thu Jul 10 11:50:23 2014 -0400 Committer: Chathuri Wimalasena 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); } }